bug in date?

bug in date?

Jason Friedman write.to.jason at gmail.com
Fri Mar 27 03:04:44 IDT 2009


> # date -s "27 MAR 2009 02:54:00"
> date: invalid date `27 MAR 2009 02:54:00'
>
> However..
>
> # date -s "27 MAR 2009 03:00:00"
> Fri Mar 27 03:00:00 IDT 2009
>
> Why is it invalid??

This is the start of summer time in Israel, so this hour does not exist.


>From http://www.gov.il/FirstGov/NewsEng/NewsEng_DaylightSavingTime09.htm

Daylight Saving Time will begin in Israel on the night between
Thursday, March 26th, and Friday, March 27th, at 2:00 a.m. At that
time the clock will be moved forward one hour, from 2:00 a.m. to 3:00
a.m.

Jason



More information about the Linux-il mailing list