bug-coreutils
[Top][All Lists]
Advanced

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

Re: YYYYMMDD HHMMSS [TZ] ?


From: Karl Berry
Subject: Re: YYYYMMDD HHMMSS [TZ] ?
Date: Mon, 7 May 2007 13:46:06 -0500

    > date -d can understand YYYYMMDD HHMM [TZ].
    > Would YYYYMMDD HHMMSS [TZ] be possible?

    Hmm, does the first form actually work for you?  

You're right, with the TZ it doesn't.  Sorry for my confusion.
date -d '20070507 1138' is ok, 
date -d '20070507 1138 -0700' is invalid.

Supporting YYYMMDD HHMMSS (without the TZ) would be useful too, if the
TZ causes extra complications (easy to imagine).

    since the code is pretty funky at this point.

I think it has been since day 1 :).
But date -d is still such a great thing ...

thanks,
k




reply via email to

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