bug-sh-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Date bug


From: harry
Subject: Date bug
Date: Mon, 27 Oct 2003 13:16:46 GMT


The following produces an error:
date +%Y-%m-%d -d "2003-10-26 tomorrow"

It produces "2003-10-26" as opposed to the expected "2003-10-27".
I tested every day for 2003 and this is the only date that
is erroneous.

Cheers,
Harry.
---
Linux burble 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown
Red Hat Linux release 7.2 (Enigma)
gcc is 2.96
date (GNU sh-utils) 2.0.11
---
GNU C Library stable release version 2.2.4, by Roland McGrath et al.
Copyright (C) 1992-1999, 2000, 2001 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.
Compiled by GNU CC version 2.96 20000731 (Red Hat Linux 7.1 2.96-97).
Compiled on a Linux 2.4.7-6smp system on 2001-09-04.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        The C stubs add-on version 2.1.2.
        linuxthreads-0.9 by Xavier Leroy
        BIND-8.2.3-T5B
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
        Glibc-2.0 compatibility add-on by Cristian Gafton 
        libthread_db work sponsored by Alpha Processor Inc
Report bugs using the `glibcbug' script to <address@hidden>.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]