#21300: Allow DateTimeField to return a naive datetime -------------------------------------+------------------------------------- Reporter: brycegroff | Owner: aaugustin Type: New feature | Status: assigned Component: Forms | Version: master Severity: Normal | Resolution: Keywords: forms DateTimeField | Triage Stage: Has patch: 0 | Unreviewed Needs tests: 0 | Needs documentation: 0 Easy pickings: 0 | Patch needs improvement: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by aaugustin): Well, the requirements are pretty clear to me: one must be able to disable selectively the time zone code in model and form DateTimeFields. I've encountered this problem myself with the model layer: I had to interact with a third party database whose schema I couldn't control, and the data was in local time. Your use case is also interesting: ironically, time zone support makes it slightly more difficult! Since I implemented time zone support in Django, I feel qualified to make a decision -- not because this is my territory or anything, just because I know how I designed it. If I think it can work, I'll upload a patch for review. -- Ticket URL: <https://code.djangoproject.com/ticket/21300#comment:9> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/068.091731d64d6ad8e8a98b0883755cc058%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.