#30224: Mysql Datetime value is string instead of datetime object
-------------------------------------+-------------------------------------
     Reporter:  Martin Kuhn          |                    Owner:  Rohit Jha
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  Mysql                |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by wyyang):

 I experienced the exact same issue with Django 4.1.13, mysqlclient 2.2.4
 and MySQL 5.7.44-48. It seems setting `USE_TZ=False` will bypass this
 issue but of course it creates other problems by losing time zone info.
 The issue can not be reproduced with MySQL 8.0.32-24
-- 
Ticket URL: <https://code.djangoproject.com/ticket/30224#comment:20>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018ea4f07153-b324ad2e-cef1-4ec7-af8d-a5b64e68da75-000000%40eu-central-1.amazonses.com.

Reply via email to