Jim Illback
unread,Nov 8, 2019, 6:06:35 PM11/8/19Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Is anyone else having an issue with Django (2.2.2), giving an error for a date time within the daylight savings change over period (11/3/2019 01:00 to 11/3/2019 02:00)?
My settings have TIME_ZONE = ‘America/Los_Angeles’. However, a transactional time such as ‘2019-11-03 01:18:34:12345-08’ gives the error message: “2019-11-03 01:18:34 couldn’t be interpreted in time zone America/Los_Angeles; it may be ambiguous or it may not exist.”
Why doesn’t Django understand that this is in the conversion from Pacific Daylight Time (PDT) to Pacific Standard Time (PST) and specifically, it is PST at 01:18:34? The -08 timezone designation proves that easily. Isn’t this a bug in Django? Is it limited to just version 2.2.2?
Thanks for any help with this issue,
Jim Illback