[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in GNU date ?
From: |
Vincent Bernat |
Subject: |
Bug in GNU date ? |
Date: |
Tue, 27 Mar 2001 20:00:41 +0200 |
User-agent: |
Mutt/1.2.5i |
Hi !
I have a little problem with GNU date but I am not sure if it is a bug
or not. Here is what I get with a Linux machine (glibc 2.1) :
neo bernat/sh-utils-2.0> date -d "1 day ago"
Mon Mar 26 19:56:46 CEST 2001
neo bernat/sh-utils-2.0> date -d "3 day ago"
Sat Mar 24 19:56:49 CET 2001
neo bernat/sh-utils-2.0> date -d "date -d '3 day ago'"
Sat Mar 24 19:57:05 CET 2001
neo bernat/sh-utils-2.0> date -d "date -d '1 day ago'"
Mon Mar 26 20:57:08 CEST 2001
neo bernat/sh-utils-2.0> date --version
date (GNU sh-utils) 2.0
Written by David MacKenzie.
Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
And here is what I get on an OpenBSD 2.8 machine (libc 25.2)
lucas% gnudate -d "1 day ago" ~
Mon Mar 26 19:57:35 CEST 2001
lucas% gnudate -d "3 day ago" ~
Sat Mar 24 19:57:42 CET 2001
lucas% gnudate -d "gnudate -d '3 day ago'" ~
Sat Mar 24 19:57:56 CET 2001
lucas% gnudate -d "gnudate -d '1 day ago'" ~
gnudate: invalid date Mon Mar 26 19:58:00 CEST 2001'
lucas% gnudate --version ~
date (GNU sh-utils) 2.0
Written by David MacKenzie.
Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
It seems that gnudate doesn't recognize CEST in input but is able to
produce it as output. What may be the problem ?
Regards,
pgpKWjpi_5GRB.pgp
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bug in GNU date ?,
Vincent Bernat <=