#24281: auto_now & auto_now_add ignore TIME_ZONE / USE_TZ settings for DateField
-------------------------------------+-------------------------------------
Reporter: djbug | Owner: nobody
Type: Bug | Status: new
Component: | Version: master
Internationalization |
Severity: Normal | Resolution:
Keywords: timezone | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by charettes):
Replying to [comment:3 djbug]:
> Hence, if `USE_TZ` is True, shouldn't we store the date in `UTC` ?
The thing is the timezone is actually part on the data type used to store
`DateTimeField` but there's no such thing for the `date` one.
I guess this is going to end up as a documentation clarification since I
doubt we can change it either way without breaking backward compatibility.
--
Ticket URL: <https://code.djangoproject.com/ticket/24281#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.07be62c36f34dc5ff08bf5e30ff445da%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.