Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/b/u/Buckley-HEAD/sketch/helpers/dateformat.py   Buckley(Download)
def date_format(value, format_string):
  "Helper function for PHP style date formatting"
  df = DateFormat(value)
  return df.format(format_string)
 
def short_date(value):
  df = DateFormat(value)
  return df.format('jS M Y')
 
def iso_date(value):
  """
  @todo convert to python native
  """
  df = DateFormat(value)
  return df.format('c')