N
nick
Ok, this is a bit off-topic for cljs but I was hoping someone here
might know the answer.
After reading this:
http://www.w3.org/TR/NOTE-datetime
"TZD = time zone designator (Z or +hh:mm or -hh:mm)"
"1994-11-05T08:15:30-05:00"
I'd say that ISO 8601 formatted dates should have a colon between the
hours and minutes in the time zone designator, right?
It looks like PHP got this wrong:
http://www.php.net/manual/en/class.datetime.php
ISO-8601 (example: 2005-08-15T15:52:01+0000)
const string DateTime::ISO8601 = Y-m-d\TH:i:sO ;
O Difference to Greenwich time (GMT) in hours Example: +0200
What's going on here? Did PHP get this wrong? If so, I wonder how I
should proceed with a PHP date formatting clone in javascript... keep
the incorrect behavior from PHP, or follow the standard? What do you
guys think?
might know the answer.
After reading this:
http://www.w3.org/TR/NOTE-datetime
"TZD = time zone designator (Z or +hh:mm or -hh:mm)"
"1994-11-05T08:15:30-05:00"
I'd say that ISO 8601 formatted dates should have a colon between the
hours and minutes in the time zone designator, right?
It looks like PHP got this wrong:
http://www.php.net/manual/en/class.datetime.php
ISO-8601 (example: 2005-08-15T15:52:01+0000)
const string DateTime::ISO8601 = Y-m-d\TH:i:sO ;
O Difference to Greenwich time (GMT) in hours Example: +0200
What's going on here? Did PHP get this wrong? If so, I wonder how I
should proceed with a PHP date formatting clone in javascript... keep
the incorrect behavior from PHP, or follow the standard? What do you
guys think?