[Django] #33448: timezone difference causes problem with admin panel time

1 view
Skip to first unread message

Django

unread,
Jan 18, 2022, 3:41:42 PM1/18/22
to django-...@googlegroups.com
#33448: timezone difference causes problem with admin panel time
-----------------------------------------+------------------------
Reporter: akshay-ken | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 4.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
i used custom time zone settings in django settings.py file with value of
Asia/Kolkatta but when i create objects using admin time get saved in
different time zone or to say default time zone as UTC instead of Asia due
to that SQL querys with dates fails

--
Ticket URL: <https://code.djangoproject.com/ticket/33448>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jan 18, 2022, 3:52:17 PM1/18/22
to django-...@googlegroups.com
#33448: timezone difference causes problem with admin panel time
-------------------------------+--------------------------------------
Reporter: akshayKen | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 4.0
Severity: Normal | Resolution: needsinfo

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => needsinfo


Comment:

Using a non-UTC timezone in the admin works for me (see
[https://docs.djangoproject.com/en/4.0/topics/i18n/timezones/ "Time
zones"] for details on how time zones are handled). I don't think you've
explained the issue in enough detail to confirm a bug in Django. Please
reopen the ticket if you can debug your issue and provide details about
why and where Django is at fault. If you're having trouble understanding
how Django works, see TicketClosingReasons/UseSupportChannels for ways to
get help.

--
Ticket URL: <https://code.djangoproject.com/ticket/33448#comment:1>

Reply all
Reply to author
Forward
0 new messages