Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/j/m/jmoiron.net-HEAD/jmoiron/app.py   jmoiron.net(Download)
def pretty_datetime(dt):
    """Show date in a pretty way, similar to new default datetime in django."""
    from utils import utc_to_timezone
    dt = utc_to_timezone(dt, "US/Eastern")
    return time.strftime("%B %d, %Y, %I:%M %p", dt.timetuple())\