tzset error

rl76 rl76@inbox.ru
Sat Dec 6 09:58:00 GMT 2014


05.12.2014 16:58, Corinna Vinschen пишет:
> On Dec  5 14:32, rl76@inbox.ru wrote:
>> Hello!
>>
>> I run Cygwin Terminal and the first line I see the error:
>>
>> tzset: can not find matching POSIX timezone for Windows timezone "Belarus
>> Standard Time"
>>
>> Installed all the latest updates.
>> Windows 7. Windows Time Zone: (UTC+03:00) Minsk.
>
> Oh.  Sorry about that.  Cygwin's tzset is using the conversion list
> Windows timezone to POSIX timezone from
> http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/zone_tzid.html
>
> There is no "Belarus Standard Time".  The only matching timezone in
> this list is "Kaliningrad Standard Time" with region "BY".
>
> However, it seems that the XML conversion list from the same site
> (http://unicode.org/repos/cldr/trunk/common/supplemental/windowsZones.xml)
> is in a much better (==newer) shape.
>
> [...time passes...]
>
> I updated tzset now and added a script to the Cygwin repo which
> allows easier updating this info once in a while.
>
> I created new developer snapshots on https://cygwin.com/snapshots/
> Please give the new tzset from cygwin-inst-20141205.tar.xz for your
> architecture a try.

Thank you, Corinna! The error was fixed. But there are suspicious 
strings in the source code.

In files cygwin-snapshot-20141205-1\winsup\utils\tzmap.h and 
cygwin-snapshot-20141205-1\winsup\utils\tzmap-from-unicode.org
     Kaliningrad Standard Time/BY
   { L"Kaliningrad Standard Time", L"BY", L"Europe/Minsk" },

Best regards, rl76.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list