From yugong @end|ng |rom out|ook@com  Mon Jan  9 00:58:12 2023
From: yugong @end|ng |rom out|ook@com (gong yu)
Date: Sun, 8 Jan 2023 23:58:12 +0000
Subject: [Rd] =?gb2312?b?tPC4tDogIHBhdGNoIGFib3V0IHRpbWV6b25lIG5hbWUgb2Yg?=
 =?gb2312?b?Q2hpbmEgU3RhbmRhcmQgVGltZSAgb24gd2luZG93cw==?=
In-Reply-To: <2D259F9A-6E37-44D9-A04C-66945AB6D0C2@R-project.org>
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>
 <2D259F9A-6E37-44D9-A04C-66945AB6D0C2@R-project.org>
Message-ID: <TYAP286MB02683F259B66677CDD168AA8D1F99@TYAP286MB0268.JPNP286.PROD.OUTLOOK.COM>

Search and read some information about windows timezone to Linux timezone mapping this week.
 And found an .net library implement this, https://github.com/mattjohnsonpint/TimeZoneConverter . Question is how to use it?
________________________________
??????: Simon Urbanek <simon.urbanek at R-project.org>
???????: 2023??1??9?? 5:56
?????: gong yu <yugong at outlook.com>
????: r-devel at r-project.org <r-devel at r-project.org>
????: Re: [Rd] patch about timezone name of China Standard Time on windows



> 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


	[[alternative HTML version deleted]]



[Rd] =?gb2312?b?tPC4tDogIHBhdGNoIGFib3V0IHRpbWV6b25lIG5hbWUgb2Yg?= =?gb2312?b?Q2hpbmEgU3RhbmRhcmQgVGltZSAgb24gd2luZG93cw==?=
gong yu