bug in date?

bug in date?

e2xbegqsdyt21hfc e2xbegqsdyt21hfc at yahoo.com
Fri Mar 27 05:27:50 IDT 2009


Due to IST, there was no such time as "27 MAR 2009 02:54:00".
$ date -s "27 MAR 2009 02:14:00"
date: invalid date `27 MAR 2009 02:14:00'
$ date -s "27 MAR 2009 02:01:00"
date: invalid date `27 MAR 2009 02:01:00'

--- On Fri, 3/27/09, Hetz Ben Hamo <hetzbh at gmail.com> wrote:

> From: Hetz Ben Hamo <hetzbh at gmail.com>
> Subject: bug in date?
> To: "linux-il" <linux-il at cs.huji.ac.il>
> Date: Friday, March 27, 2009, 1:56 AM
> Hi,
> 
> Take a look at this:
> 
> # 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??
> 
> Thanks,
> Hetz
> -- 
> Skepticism is the lazy person's default position.
> my blog (hebrew): http://benhamo.org
> 
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
> 


      



More information about the Linux-il mailing list