Changes between Initial Version and Version 1 of Ticket #24281, comment 8
- Timestamp:
- Feb 6, 2015, 12:45:04 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24281, comment 8
initial v1 1 1 Excuse my ignorance here. The [https://docs.djangoproject.com/en/1.7/topics/i18n/timezones/ docs for timezone] say 2 2 3 > When support for time zones is enabled, Django stores date and timeinformation in '''UTC in the database''' [...] it’s still good practice to store data in UTC in your database3 > When support for time zones is enabled, Django stores '''date''' and '''time''' information in '''UTC in the database''' [...] it’s still good practice to store data in UTC in your database 4 4 5 5 This makes me think that if `USE_TZ` is True, the date should be grabbed from the UTC datetime.