2024-05-26 22:55:23 发布
网友
在对另一个问题进行故障排除时,我发现在pytz中,时区“Asia/Jakarta”是UTC偏移7h 7m
为什么会这样?据我所知,亚洲/雅加达的补偿应该只有7小时
import pytz x = pytz.timezone('Asia/Jakarta') x._utcoffset # datetime.timedelta(0, 25620)
25620s=427分钟 或7小时7分钟
我错过什么了吗
所以我看到了这个链接http://pytz.sourceforge.net/#issues-limitations
这让我想到http://www.iana.org/time-zones
下载数据,我在亚洲文件中找到了这个信息
> # From Paul Eggert (2014-09-06): > # The 1876 Report of the Secretary of the [US] Navy, p 306 says that Batavia > # civil time was 7:07:12.5; round to even for Jakarta.
好吧,那么
所以我看到了这个链接
http://pytz.sourceforge.net/#issues-limitations
这让我想到
http://www.iana.org/time-zones
下载数据,我在亚洲文件中找到了这个信息
好吧,那么
相关问题 更多 >
编程相关推荐