[Mono-dev] Error trying to compile mono on CentOs 5
Nikki Locke
nikki at trumphurst.com
Thu Jun 11 13:00:07 UTC 2015
Thanks again, Timotheus - I am now using "GB" time zone on Linux (not GMT, as I want BST in summer) -
of course, that doesn't work on Windows, so I have put in conditional code.
Timotheus Pokorra wrote:
> > Supplementary question - I am trying to load a time zone using:
> >
> > TimeZoneInfo.FindSystemTimeZoneById("GMT Standard Time")
> Try to use TimeZoneInfo.FindSystemTimeZoneById("GMT") instead.
>
> The timezone must exist as a file in /usr/share/zoneinfo
> see for details:
> https://github.com/mono/mono/blob/mono-4.0.0-branch/mcs/class/corlib/System/TimeZoneInfo.cs#L451
> and https://github.com/mono/mono/blob/mono-4.0.0-branch/mcs/class/corlib/System/TimeZoneInfo.cs#L163
>
> hope that helps,
> Timotheus
--
Nikki Locke, Trumphurst Ltd. PC & Unix consultancy & programming
http://www.trumphurst.com/
More information about the Mono-devel-list
mailing list