bad commit 941990f0c5911cccd2bfaa3e0259a312c93f97ef?

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Sun Jul 26 15:05:38 UTC 2009


On Sun, 26 Jul 2009, Denys Vlasenko wrote:

> Documentation was changed, IIRC in the same commit, to say
> [[[[[YY]YY]MM]DD]hh]mm[.ss] instead of MMDDhhmm[[YY]YY][.ss]:
>
> # ./busybox date --help
> BusyBox v1.15.0.svn (2009-07-26 13:45:10 CEST) multi-call binary
>
> Usage: date [OPTIONS] [+FMT] [TIME]
> ...
> Recognized formats for TIME:
>         hh:mm[:ss]
>         [YYYY.]MM.DD-hh:mm[:ss]
>         YYYY-MM-DD hh:mm[:ss]
>         [[[[[YY]YY]MM]DD]hh]mm[.ss]
>
> (It seems that MMDDhhmm[[YY]YY][.ss] format was a bbox invention,
> because it's slightly easier to parse. Google didn't show any
> other programs which use such format. See a comment in libbb/time.c)

Right.  Sorry, missed that :(

Noticed though some discrepecies bbox vs. gnu date.
See attached, which reveals the oddities.


Cheers,

-- 
Cristian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: date-format-works.patch
Type: text/x-diff
Size: 1027 bytes
Desc: 
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090726/4ec1d268/attachment.bin>


More information about the busybox mailing list