I have a requirement where i need to group several timezone codes based on standrad UTC offset (Without DST), for example - all the time zone with standard UTC offset value between 4 and 6 will be part of one group and so one.
How can i get the standard UTC offset for a timezone using timezone code?
I tried below method but it gives me the offset with DST.
pytz.timezone('Asia/Jerusalem').localize(datetime.datetime(2011,1,1)).strftime('%z')