bug-coreutils
[Top][All Lists]
Advanced

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

Re: YYYYMMDD HHMMSS [TZ] ?


From: Matthew Woehlke
Subject: Re: YYYYMMDD HHMMSS [TZ] ?
Date: Tue, 08 May 2007 16:46:20 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.4.0

Micah Cowan wrote:
Karl Berry wrote:
    It already supports YYYY-MM-DD HH:MM:SS (also with TZ).

I know, and I am glad, but as I wrote in my original message, the forms
without punctuation would also be useful (to me anyway) to support.

The punctuation is already optional:

$ date -d 20070508\ 1406
Tue May  8 14:06:00 PDT 2007

The original post also talked about seconds...

$ date -d 20070508\ 14:06:25
Tue May  8 14:06:25 PDT 2007
$ date -d 20070508\ 140625
date: invalid date `20070508 140625'
$ date --version
date (GNU coreutils) 6.9

--
Matthew
"Please remain calm... I may be mad, but I am a professional."
  -- Mad Scientist





reply via email to

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