Skip to content

timezone underspecified #12

@bendichter

Description

@bendichter

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions