Skip to content

Commit

Permalink
Reorder zones list so that city of the naming of the timezone comes l…
Browse files Browse the repository at this point in the history
…ast (#13)

* Reorder zones list so that city of the naming of the timezone comes last

* Update .gitignore

* Update timezone for Volgograd, see https://techcommunity.microsoft.com/t5/daylight-saving-time-time-zone/interim-guidance-on-2020-time-zone-updates-for-volgograd-russia/ba-p/2014425
  • Loading branch information
Lucia Lu committed Feb 2, 2021
1 parent acb4de4 commit 6a7ab3c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ pip-log.txt
.coverage
.tox

#Translations
# Translations
*.mo

#Mr Developer
# Mr Developer
.mr.developer.cfg

# Utils
env
.vscode
5 changes: 3 additions & 2 deletions timezones/zones.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

from future.backports import cmp_to_key
from past.builtins import cmp

from timezones import tz_utils

_UPDATED_TZS = False
Expand Down Expand Up @@ -165,7 +166,7 @@ def get_timezones_dict():
("+0300", "Africa/Nairobi", '(GMT+0300) Nairobi'),
("+0300", "Asia/Riyadh", '(GMT+0300) Riyadh'),
("+0300", "Europe/Moscow", '(GMT+0300) St. Petersburg'),
("+0400", "Europe/Volgograd", '(GMT+0400) Volgograd'),
("+0300", "Europe/Volgograd", '(GMT+0300) Volgograd'),
("+0330", "Asia/Tehran", '(GMT+0330) Tehran'),
("+0400", "Asia/Dubai", '(GMT+0400) Abu Dhabi'),
("+0400", "Asia/Baku", '(GMT+0400) Baku'),
Expand Down Expand Up @@ -205,8 +206,8 @@ def get_timezones_dict():
("+0800", "Asia/Kuala_Lumpur", '(GMT+0800) Kuala Lumpur'),
("+0800", "Australia/Perth", '(GMT+0800) Perth'),
("+0800", "Singapore", '(GMT+0800) Singapore'),
("+0800", "Asia/Taipei", '(GMT+0800) Taipei'),
("+0800", "Asia/Taipei", '(GMT+0800) Ulaan Bataar'),
("+0800", "Asia/Taipei", '(GMT+0800) Taipei'),
("+0900", "Asia/Seoul", '(GMT+0900) Seoul'),
("+0900", "Asia/Tokyo", '(GMT+0900) Tokyo'),
("+0900", "Asia/Yakutsk", '(GMT+0900) Yakutsk'),
Expand Down

0 comments on commit 6a7ab3c

Please sign in to comment.