Changes between Initial Version and Version 1 of Ticket #34680
- Timestamp:
- Jun 26, 2023, 9:11:42 PM (17 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34680 – Description
initial v1 1 When using inspectdb on a MySQL database timestamp columns in MySQLare generated as DateTime fields in Django models. On the surface this appears to work, however, MySQL makes timezone adjustments for timestamps and not for datetimes.1 When using inspectdb on a MySQL database timestamp columns are generated as DateTime fields in Django models. On the surface this appears to work, however, MySQL makes timezone adjustments for timestamps and not for datetimes. 2 2 3 3 Since Django expects these columns to be datetime, if the server timezone is changed, incorrect dates/times are returned. I saw this in the wild with