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/


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to