Dr said:
[...] Thomas 'PointedEars' Lahn [...] posted [...]:
I do think so, because of the wrong time zone offset. It is GMT+0100
and should be GMT+0200, since local DST did not end yet.
On that day, at 2:59 #1 local, it is still summer time
I did not state the opposite, on the contrary.
- don't use DST, it is a merkinism;
Not Google, none of my many English printed and online dictionaries, not
even the Wikipedia, which tends to be comprehensive and verbose, really
explains that term. Would you do it, please?
use the British or German term - preferably the former, since British
introduced it first
Sources are contradictory but it turns out that your information is probably
incorrect:
,-<
http://en.wikipedia.org/wiki/Daylight_saving_time>
| [...]
| It was first seriously proposed by William Willett in the "Waste of
| Daylight" [2], published in 1907, but he was unable to get the British
| government to adopt it, despite considerable lobbying.
|
| [...]
| The idea of daylight saving time was first put into practice by the German
| government during the First World War between April 30, 1916 and October
| 1, 1916. Shortly afterward, the United Kingdom followed suit, first
| adopting DST between May 21, 1916 and October 1, 1916. [...]
Most interestingly, the German Wikipedia's "Sommerzeit" article suggests
that "Daylight Saving Time" (sic!) was introduced first in the former Irish
Republic shortly after the Easter Rising in 1916 AD. Although the Irish
fought for independence, technically speaking Ireland was then still a part
of the UK which would explain the second sentence in the first source as
well as your statement. I take it that the rest of the UK introduced it
after the Truce in 1921. (DST was introduced in the Federal Republic of
Germany late in 1980, mostly as a reaction to the energy crisis of 1973
and to conform with the other countries that introduced it earlier.)
DST/ST was primarily introduced to save electric energy (yes, energy cannot
be saved, only transformed) in summer when the days (i.e. the time between
sunrise and sunset) are of course longer in the (Central European) summer
months than in the winter months. Switching local time ahead one hour in
the summer months allows to make better use of sunlight during normal
working hours.
Therefore I consider the original term, Daylight Saving Time, the more
correct one, "summer time" (in German: "Sommerzeit") is rather a colloquial
form of that although I do recognize that "British Summer Time (BST)" as
well as "Irish Summer Time (IST)" are known terms for DST in Britain and in
the Republic of Ireland.
(However, DST has been and is still questionable: statistics show that
indeed less electric energy is consumed (or rather: transformed) in the
evenings but also more energy is consumed/transformed with heating in the
morning hours, especially in the colder months of March, April and October.
Additionally, the change has a yet underestimated impact on the biorhythm
and so the health of many individuals, especially shift workers. Last but
not least, in a global economy there is not much point in referring to
local time when it comes to working hours, DST rather introduces confusion
in normal business. But that kind of discussion also does not really
belong here.)
- and the clock goes back a minute later to 2:00
local, and about an hour later it shows 2:59 #2.
AIUI, German law, unless since upset by the EU, defines these hours as
starting at 02:00 "A" & "B".
I do not understand what you mean with "'A' & 'B'".
Anyway, DST in the Federal Republic of Germany (which happens to be
my home country) is standardized and enforced by the "Gesetz über die
Zeitbestimmung"/ "Zeitgesetz" (Law Regarding the Definition of Time/
Time Law) since 1980, currently to start at 0200 CET/0100 GMT and end at
_0300_ CEST/0200 CET/0100 GMT (thus implementing the European Community
directive 2000/84/EG), see e.g. <
http://zeitumstellung.de/> (from your
postings in de.comp.lang.javascript I understand that you understand at
least a bit German).
So, to be at least a bit on-topic here:
That means if the implementation would take heed of what the OS already
"knows", consequently, it would show "...02:59:00+02:00 CEST" _and_ a time
zone offset of -120 for the given date, not only one of them. It does not.
While ECMAScript does not require a conforming implementation to take heed
of local DST changes, I consider it a JS bug that the time zone offset in
the string representation and the time zone offset retrieved using the
object's method differ for the same Date object. But this merely
emphasizes your point that a date computation performed with JS has to be
watched for DST change.
PointedEars