Date can't seem to parse seconds (or nanoseconds) when they are immedately after another term. E.g. trying to parse the string "20140609T150610" (2014-06-09-15:06:10) fails.
> % date +%Y%m%dT%H%M%S -d "20140609T150610" > date: invalid date ‘20140609T150610’ The date parses correctly, if the seconds are removed: > % date +%Y%m%dT%H%M%S -d "20140609T1506" > 20140609T100600 Using the output from the previous command also gives an error: > % date +%Y%m%dT%H%M%S -d "20140609T150600" > date: invalid date ‘20140609T150600’ Is this a bug or am I doing something the wrong way? Thanks! -- Best Regards, Peter Kasza http://www.iit.uni-miskolc.hu/~kasza1 [email protected] () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
