wrong offset for 'Asia/Shanghai'

Asked by Shadowduck

For 'Asia/Shanghai', I get LMT+8:06:00 STD
which should be +8:00:00,
pytz offer extra 6 minutes.

Revision history for this message
Stuart Bishop (stub) said :
#1

Need to follow the instructions on creating localized timestamps in the docs.

Revision history for this message
Stuart Bishop (stub) said :
#2

Stuart Bishop suggests this article as an answer to your question:
FAQ #1: “pytz is giving me incorrect timezone information”.

Can you help with this problem?

Provide an answer of your own, or ask Shadowduck for more information if necessary.

To post a message you must log in.