Changes between Initial Version and Version 1 of Ticket #24281, comment 8


Ignore:
Timestamp:
Feb 6, 2015, 12:45:04 AM (10 years ago)
Author:
djbug

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24281, comment 8

    initial v1  
    11Excuse my ignorance here. The [https://docs.djangoproject.com/en/1.7/topics/i18n/timezones/ docs for timezone] say
    22
    3 > 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
     3> 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
    44
    55This makes me think that if `USE_TZ` is True, the date should be grabbed from the UTC datetime.
Back to Top