Displaying 1 result from an estimated 1 matches for "ucal_gettimezoneidforwindowsid".
2023 Jan 11
1
proposal for use ICU for timezone convertion on windows and a draft patch
Dear All,
Last week I found an issue about R Sys.timezone function on Windows and send email to this list. This week , I read quite a few docs and codes about windows time zone to IANA time zone conversion. and found in unicode.org's ICU library has a function ucal_getTimeZoneIDForWindowsID which do the time zone convert. Microsoft also use it for time zone convertion in dotnet 6 and 7.(https://github.com/dotnet/runtime/blob/main/src/native/libs/System.Globalization.Native/pal_timeZoneInfo.c) .
IMHO, use this function to implement time zone convert on windows is better than R's h...