Is there a central repository for time zone information

后端 未结 2 909
名媛妹妹
名媛妹妹 2020-12-09 21:47

I know that systems are using their own time zone databases at different levels.

Is there a central place where all timezeone and DST information lives, that makes i

相关标签:
2条回答
  • 2020-12-09 22:30

    Get the time zone database from ftp://ftp.iana.org/tz/releases — was ftp://elsie.nci.nih.gov/pub — or the many other source on the web. These will be keyed in UN ISO codes and English country/City names

    And then translate them from http://www.unicode.org/cldr/

    e.g.

    • French http://unicode.org/cldr/data/common/main/fr.xml
    • Spanish http://unicode.org/cldr/data/common/main/es.xml
    0 讨论(0)
  • 2020-12-09 22:39

    The best database I know of is the tz database, also known as the Olson database.

    0 讨论(0)
提交回复
热议问题