-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
Description
lab.Lab currently has a timezone field that has values such as “UTC+0”. I don’t think this is going to work for many locations, because the UTC offset of timezones can change throughout the year based on daylight savings time.
Better would be to choose from a list of named timezones such as pytz.common_timezones:
['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis_Ababa', 'Africa/Algiers', 'Africa/Asmara', 'Africa/Bamako', 'Africa/Bangui', 'Africa/Banjul', 'Africa/Bissau', 'Africa/Blantyre', 'Africa/Brazzaville', 'Africa/Bujumbura', 'Africa/Cairo', 'Africa/Casablanca', 'Africa/Ceuta', 'Africa/Conakry', 'Africa/Dakar', 'Africa/Dar_es_Salaam', 'Africa/Djibouti', ...
better still would be to find an international standard for timezones. Maybe pytz follows one, I'm not sure.