[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: date and ISO-8601
From:       "Allan Clark" <allanc () chickenandporn ! com>
Date:       2008-11-25 22:41:23
Message-ID: 37c712e0811251441t299baf3bt1d4c478cee38a6c9 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Tue, Nov 25, 2008 at 17:32, Denys Vlasenko <vda.linux@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)

[Attachment #5 (text/html)]

<div class="gmail_quote">On Tue, Nov 25, 2008 at 17:32, Denys Vlasenko <span \
dir="ltr">&lt;<a href="mailto:vda.linux@googlemail.com">vda.linux@googlemail.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;"> <div class="Ih2E3d">On Thursday 25 September 2008 \
19:09, Piotr Grudzinski wrote:<br> &gt; Here are some problems with the date applet \
and ISO-8601 as of BB 1.12.1<br> &gt;<br>
&gt; 1. Colon separator - use it (extended format) or not (basic format). BB seems to \
mix both:<br> &gt;<br>
&gt; [...]<br>
&gt;<br>
&gt; There is a missing colon in -0500 (the difference between local time and \
UTC).<br> <br>
</div>coreutils does this:<br>
<br>
bash-3.2# /usr/bin/date --version<br>
date (GNU coreutils) 6.9<br>[...]<br>
<br>
bash-3.2# /usr/bin/date -Iseconds<br>
2008-11-25T23:27:25+0100<br>
<div class="Ih2E3d"><br>
[...]</div>
<br>
so it seems to be not such a big problem as of \
now.</blockquote><div><br></div><div>That&#39;s the &quot;works great in IE6&quot; \
defense for non-compliant web content. &nbsp;Is it more important to mimick \
another&#39;s mistake, or do the right thing? &nbsp;(yes, both answers can be \
argued)</div> </div>



_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic