[Mono-dev] [PATCH] Read timezones from the registry on Windows. (try 2)
madewokherd at gmail.com
Fri Jun 18 15:18:34 EDT 2010
This patch makes TimeZoneInfo.GetSystemTimeZones and
FindSystemTimeZoneById work based on the registry on non-Unix
platforms, if the appropriate registry key exists. Mono currently
reads from /usr/share/zoneinfo, which doesn't exist on Windows.
This should fix bug 606084.
It won't fix the Local property on Windows. I think that requires a
Windows API call to get the id of the local timezone.
This was modified from the previous version to not check the registry
on Unix platforms. (Sorry it took me so long to do this. I have very
little time to spend on Mono-related work.)
This patch is licensed under the MIT X11 license.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8592 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100618/f71ac62e/attachment-0001.bin
More information about the Mono-devel-list