Open pritisolanki opened 2 years ago
hey @pritisolanki,
In order for ZZZ to be used, the timezone expression must be the time zone name, and not the numeric values("+05:30") as they are ambiguous and can match back to multiple named time zones.
Example:
>>> flight_schedule_date = arrow.now("America/New_York")
>>> flight_landing_date = flight_schedule_date.shift(hours=28).to('Asia/Kolkata')
>>> flight_landing_date.format("DD,MMM HH:mm A ZZZ")
'23,Jun 10:05 AM IST'
Cheers!
Date format missing timezone string
Issue Description
Output flight scheduled departure is 22,May 10:40 AM EDT and expected arrival at destination is 24,May 00:10 AM which is missing "IST" at end
But when I add ZZ, I get correct tz expression flight scheduled departure is 22,May 10:39 AM EDT and expected arrival at destination is 24,May 00:09 AM +05:30
System Info