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

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

Re: date -u does not use utc to set the date


From: Jim Meyering
Subject: Re: date -u does not use utc to set the date
Date: 09 Mar 2001 08:46:06 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.99

Chuck Berg <address@hidden> wrote:

| date -u does not work as documented.
[...]
| dev2:/# date ; date -u `date -u +"%m%d%H%M%Y.%S"` ; date
| Thu Mar  8 22:02:06 EST 2001
| Fri Mar  9 08:02:06 UTC 2001
| Fri Mar  9 03:02:06 EST 2001

Thanks for the report.
That's fixed in the latest test release.
  ftp://alpha.gnu.org/gnu/fetish/

I just did this:

  # command date ; date -u $(date -u +%m%d%H%M%Y.%S) ; command date
  Fri Mar  9 08:46:19 CET 2001
  Fri Mar  9 07:46:19 UTC 2001
  Fri Mar  9 08:46:19 CET 2001

  # date --version|head -1
  date (GNU sh-utils) 2.0.11



reply via email to

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