Opened 14 years ago
Last modified 13 years ago
#80 new enhancement
Timestamps in UTC
Reported by: | adehnert | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Post Django 1.4 |
Component: | Infrastructure | Version: | |
Keywords: | Cc: | ||
Size: | medium |
Description
Check if the ASA Database's various timestamps (e.g., OfficeHolder? start/end times) are in UTC or local time. If the latter, change that.
Change History (3)
comment:1 Changed 14 years ago by adehnert
comment:2 Changed 13 years ago by adehnert
- Component changed from Core to Infrastructure
comment:3 Changed 13 years ago by adehnert
- Milestone changed from The Distant Future to Post Django 1.4
Cool, Django decided they care starting in Django 1.4. See https://docs.djangoproject.com/en/dev/topics/i18n/timezones/#time-zones-migration-guide.
Note: See
TracTickets for help on using
tickets.
Looks like datetime.datetime.now() is local. We probably want utcnow().