date and ISO-8601
Allan Clark
allanc at chickenandporn.com
Tue Nov 25 22:41:23 UTC 2008
On Tue, Nov 25, 2008 at 17:32, Denys Vlasenko <vda.linux at googlemail.com>wrote:
> On Thursday 25 September 2008 19:09, Piotr Grudzinski wrote:
> > Here are some problems with the date applet and ISO-8601 as of BB 1.12.1
> >
> > 1. Colon separator - use it (extended format) or not (basic format). BB
> seems to mix both:
> >
> > [...]
> >
> > There is a missing colon in -0500 (the difference between local time and
> UTC).
>
> coreutils does this:
>
> bash-3.2# /usr/bin/date --version
> date (GNU coreutils) 6.9
> [...]
>
> bash-3.2# /usr/bin/date -Iseconds
> 2008-11-25T23:27:25+0100
>
> [...]
>
> so it seems to be not such a big problem as of now.
That's the "works great in IE6" defense for non-compliant web content. Is
it more important to mimick another's mistake, or do the right thing? (yes,
both answers can be argued)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20081125/5f319d68/attachment-0002.htm
More information about the busybox
mailing list