Open ikus060 opened 11 months ago
Using babel to format date with local timezone show different result for America/Montreal and America/Toronto.
America/Montreal
America/Toronto
>>> dates.format_datetime(format='long', tzinfo=pytz.timezone('America/Toronto')) 'August 2, 2023 at 1:27:22 p.m. EDT' >>> dates.format_datetime(format='long', tzinfo=pytz.timezone('America/Montreal')) 'August 2, 2023 at 1:27:29 p.m. -0400'
America/Toronto and America/Montreal are always on the same timezone. So I'm expecting timezone to be displayed as EDT for America/Montreal.
EDT
Maybe an alias is missing ?
I also have similar issue with Europe/Zurich where it get displayed as +0200 instead of CEST
Europe/Zurich
+0200
CEST
I have noticed the same for all IST values "Asia/Kolkata"...
Overview Description
Using babel to format date with local timezone show different result for
America/Montreal
andAmerica/Toronto
.Steps to Reproduce
Expected Results
America/Toronto
andAmerica/Montreal
are always on the same timezone. So I'm expecting timezone to be displayed asEDT
forAmerica/Montreal
.Maybe an alias is missing ?