#29384: Change the SQL while filtering by month or day with MySQL when USE_TZ is
True
-------------------------------------+-------------------------------------
Reporter: Fossen | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Database layer | Version: 2.0
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: MySQL | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Fossen):
Replying to [comment:5 Aymeric Augustin]:
Sorry for my poor expression. Time zone is indeed necessary for me, I do
not wanna set USE_TZ = False.
I just wanna use time zone with MySQL without adding timezone table, just
like other database. (The reason I choosing MySQL is not because I like
it, but I have to, because of my job. T _T) I know django already provide
a solution, but I just think the difference bewteen MySQL and other
databases makes django a little more incomplete.
Thanks for you advice. I will read that discussion for more details.
--
Ticket URL: <https://code.djangoproject.com/ticket/29384#comment:6>
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/068.ac9cf2344910e1b606cbb1b05582cacc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.