Changes between Initial Version and Version 1 of Ticket #37013


Ignore:
Timestamp:
Mar 30, 2026, 2:22:34 PM (4 hours ago)
Author:
Jacob Walls
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37013 – Description

    initial v1  
    1 The `Trunc()` and `Extract()` database functions apply timezone conversions if `USE_TZ = True`. When the `tzinfo` argument is omitted, the timezone is inferred from `settings.TIME_ZONE`. This information is not captured by migrations, meaning that if `settings.TIME_ZONE` changes over the life of a project, then the database may never receive a corresponding update.
     1The `Trunc()` and `Extract()` database functions apply timezone conversions if `USE_TZ = True`. When the `tzinfo` argument is omitted, the timezone is inferred from `settings.TIME_ZONE`. If these functions are used in a `db_default` expression, this information is not captured by migrations, meaning that if `settings.TIME_ZONE` changes over the life of a project, then the database may never receive a corresponding update.
    22
    33{{{#!py
Back to Top