Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#33448 closed Bug (needsinfo)

timezone difference causes problem with admin panel time

Reported by: akshayKen Owned by: nobody
Component: contrib.admin Version: 4.0
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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

Change History (1)

comment:1 by Mariusz Felisiak, 3 years ago

Resolution: needsinfo
Status: newclosed

Using a non-UTC timezone in the admin works for me (see 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.

Version 0, edited 3 years ago by Mariusz Felisiak (next)
Note: See TracTickets for help on using tickets.
Back to Top