[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Follow Up: Re: date broken in coreutils-6.7 and new glibc-2.7
From: |
Philip Rowlands |
Subject: |
Re: Follow Up: Re: date broken in coreutils-6.7 and new glibc-2.7 |
Date: |
Thu, 15 Nov 2007 16:11:07 +0000 (GMT) |
On Mon, 12 Nov 2007, Philip Rowlands wrote:
This fails for a different reason; the format is incorrect unless
using the -u flag. This really isn't obvious from the documentation,
and may be a bug; the only thing -u is supposed to do is provide an
implicit TZ=UTC0 environment variable.
Not a bug; I misunderstood the date-setting syntax, which is (from the
manpage)
date MMDDhhmm[[CC]YY][.ss]]
or
date --set=DATESTR
Both of these can take a --utc flag, but the first syntax is much more
rigid, whereas the second can utilize relative terms etc.
Cheers,
Phil