def time(value, arg=None):
 from google.appengine._internal.django.utils import dateformat
 if (value in (None, u'')):
  return u''
 if (arg is None):
  arg = settings.TIME_FORMAT
 try:
  return formats.time_format(value, arg)
 except AttributeError:
  try:
   return dateformat.time_format(value, arg)
  except AttributeError:
   return ''

def time ( value , arg = None ) : from google . appengine . _internal . django . utils import dateformat if ( value in ( None , u'' ) ) : return u'' if ( arg is None ) : arg = settings . TIME_FORMAT try : return formats . time_format ( value , arg ) except AttributeError : try : return dateformat . time_format ( value , arg ) except AttributeError : return ''
create a time only timestamp for the given instant .