From @|mon@urb@nek @end|ng |rom R-project@org  Sun Jan  8 22:56:06 2023
From: @|mon@urb@nek @end|ng |rom R-project@org (Simon Urbanek)
Date: Mon, 9 Jan 2023 10:56:06 +1300
Subject: [Rd] 
 patch about timezone name of China Standard Time  on windows
In-Reply-To: <TYAP286MB0268667489AE050C0C8F4CCDD1FB9@TYAP286MB0268.JPNP286.PROD.OUTLOOK.COM>
References: <TYAP286MB0268B510AA1D33E61F7A39A7D1FB9@TYAP286MB0268.JPNP286.PROD.OUTLOOK.COM>
 <20230106102657.1085ecff@Tarkus>
 <TYAP286MB0268DE8C16ADA8BB267927F4D1FB9@TYAP286MB0268.JPNP286.PROD.OUTLOOK.COM>
 <1A72FB16-F6A3-4F28-A8D4-5ADEB0D37842@R-project.org>
 <TYAP286MB0268667489AE050C0C8F4CCDD1FB9@TYAP286MB0268.JPNP286.PROD.OUTLOOK.COM>
Message-ID: <2D259F9A-6E37-44D9-A04C-66945AB6D0C2@R-project.org>



> On 7/01/2023, at 1:17 PM, gong yu <yugong at outlook.com> wrote:
> 
> understand your concerns.
> for registerTZ.c itself , IMHO , the most important part is the definition of tztable[] .  which come form http://unicode.org/cldr/data/diff/supplemental/windows_tzid.html ,but it can?t access now, the lasted version is https://unicode-org.github.io/cldr-staging/charts/42/supplemental/zone_tzid.html.
> 
> maybe  we need write a script  or small tools  , use it sync with unicode standard and microsoft registery or tzutil , to generate tztable definition?
> will this better than current way? if it is i will try it in next 1-2 weeks.
> 

I'm not sure how simple it would be to script this since others have been working on this, but if it was doable it would be a good start. There are others that know more about CLDR than I do.

Cheers,
Simon



[Rd] patch about timezone name of China Standard Time on windows
Simon Urbanek