[tz] Summer time during WW2 for Europe/Zagreb

Thom Hehl Thom at pointsix.com
Fri Dec 2 12:36:22 UTC 2011

I believe summer time was suspended here in the states during WW2. Same
in Europe?

-----Original Message-----
From: tz-bounces at iana.org [mailto:tz-bounces at iana.org] On Behalf Of Miro
Sent: Friday, December 02, 2011 5:11 AM
To: tz at iana.org
Subject: [tz] Summer time during WW2 for Europe/Zagreb


I'd like to ask a question regarding Europe/Zagreb timezone for years
I actually reported a bug in Firefox but that turned out not to be the
I'll leave url just in case you need more information:

Anyway, I have Arch Linux installed with latest tzdata package: 2011n.
information is available at:
http://www.archlinux.org/packages/core/x86_64/tzdata. I noticed weird
in Firefox when I try to enter some dates during WW2. Basically summer
doesn't get accounted for. Here is a simple test I ran in Firefox:

var d = new Date(Date.UTC(1942, 5, 11, 22, 0, 0, 0));

// Firefox 8.0.1, Rhino 1.7 release 3 2011 10 16
d.toString(); // Thu Jun 11 1942 23:00:00 GMT+0100 (CET)

// this is what I expect:
// Chrome15, IE8, nodejs 0.6.2, and code in Java and Ruby
d.toString(); // Fri Jun 12 1942 00:00:00 GMT+0200 (CEST)

I ran the same test on Arch Linux and on Windows 7. On Windows 7 both
and Chrome work as expected. Only Firefox under Linux presents date
doesn't account for summer time. Firefox people told me that Firefox
uses native
(from glibc probably) tzdata. Therefore, I expected if I use another
that uses latest tzdata (assuming 2011n is latest) I'd get the same
result. I
used joda-time for that
(http://joda-time.sourceforge.net/tz_update.html). But I
got correct date. One that does account for summer time.

I was wondering If you could point me in a correct direction for trying
to fix
this bug.

Kind regards

More information about the tz mailing list