def format_rfc3339(datetime_instance=None):
 return (datetime_instance.isoformat('T') + 'Z')

def format_rfc3339 ( datetime_instance = None ) : return ( datetime_instance . isoformat ( 'T' ) + 'Z' )
formats a datetime per rfc 3339 .