-
Notifications
You must be signed in to change notification settings - Fork 0
A basic datetime handler for django
License
jself/DtHandler
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
DtHandler is a very basic datetime helper for django. Usage: In [1]: import datetime In [2]: dt = datetime.datetime(2010, 1, 1) In [3]: from dthandler import DtHandler In [4]: dth = DtHandler(dt) In [5]: dth.localtime Out[5]: datetime.datetime(2010, 1, 1, 0, 0, tzinfo=<DstTzInfo 'America/New_York' EST-1 day, 19:00:00 STD>) In [6]: dth.utc Out[6]: datetime.datetime(2010, 1, 1, 5, 0, tzinfo=<UTC>)
About
A basic datetime handler for django
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published