New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pyoungyang time zone issue. #15

knight76 opened this Issue Jun 19, 2018 · 1 comment


None yet
2 participants

knight76 commented Jun 19, 2018


I found a time zone issue which changed Pyongyang(North Korea) time zoned recently.
According to '', I found 'On 29 April 2018, North Korean leader Kim Jong-un announced his country would be returning to UTC+9 to realign its clocks with South Korea. '. It based on the Guadian Newspaper('')

Below code is not match the Wiki.

import pytz
import datetime

def main():
	seoul = pytz.timezone('Asia/Seoul')
	pyongyang = pytz.timezone('Asia/Pyongyang')
if __name__ == '__main__':

The result is below.

2018-06-19 18:23:36.818206+09:00
2018-06-19 18:23:36.818469+08:30

Second result should be equal to '2018-06-19 18:23:36.818469+09:00'

Could you change code and and document(

And When I test the previous example, I found another interesting sample code.

>>> import pytz

>>> from datetime import datetime

>>> fmt = '%Y-%m-%d %H:%M:%S %Z%z'

>>> seoul = pytz.timezone('Asia/Seoul')

>>> seoul

<DstTzInfo 'Asia/Seoul' KST+8:30:00 STD>
>>> pyongyang = pytz.timezone('Asia/Pyongyang')
>>> pyounyang

<DstTzInfo 'Asia/Pyongyang' KST+8:30:00 STD>

Finally, I found another interesting document. You described world timezone. Previsous menthioned, I think it should be changed.
-> I think it should be removed at '8:30 KST KDT Korea when at +0830', maintained at ''9:00 KST KDT Korea when at +09'.

Thanks in advance.


This comment has been minimized.


stub42 commented Jun 29, 2018

New version is (finally) out with the updated database.

@stub42 stub42 closed this Jun 29, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment