[Mono-dev] DateTime.Now gives a wrong time

Robert Jordan robertj at gmx.net
Wed Oct 12 11:21:08 EDT 2011


On 12.10.2011 13:42, k0l0b0k.void at gmail.com wrote:

> user at server:~# date
> Wed Oct 12 14:09:10 FET 2011

FET? This is an interesting time zone:
http://en.wikipedia.org/wiki/Further-eastern_European_Time

It seems that Mono is thinking that you're now on EET
(Eastern Europe Time, UTC+2), your former time zone.

Either you don't have correct time zone files or there is
a bug in Mono's GetTimeZoneData.

Unlike other apps that only show the current time, Mono
needs valid time probes for the whole year, so you can
have invalid time zone info even if other apps seems to work.

Maybe it helps when I tell you that on 2012/01/01 the bug will
vanish on its own :)

Robert



More information about the Mono-devel-list mailing list