ISO 8601: Difference between revisions
No edit summary |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
! 3 | ! 3 | ||
! 4 | ! 4 | ||
! 5 | |||
|- | |- | ||
| 1582-10-15 | | 1582-10-15 | ||
Line 17: | Line 18: | ||
| 1582‑10‑15 | | 1582‑10‑15 | ||
| <nobr>1582-10-15</nobr> | | <nobr>1582-10-15</nobr> | ||
| <span style="white-space: nowrap;">1582-10-15</span> | |||
|} | |} | ||
*@1 using - (U+002D hyphen-minus) | *@1 using - (U+002D hyphen-minus) | ||
*@2 using "&#X;" with X=8209 (U+2011 non-breaking hyphen) | *@2 using "&#X;" with X=8209 (U+2011 non-breaking hyphen) - search for 1582-10-15 (method 1) possibly does not match | ||
*@3 using the sign itself (U+2011 non-breaking hyphen) | *@3 using the sign itself (U+2011 non-breaking hyphen) - search for 1582-10-15 (method 1) possibly does not match | ||
*@4 using nobr-tag around method 1 | *@4 using nobr-tag around method 1 | ||
*@5 using span style="white-space: nowrap;" | |||
==Glibc== | |||
http://www.gnu.org/software/libc/manual/html_node/Formatting-Calendar-Time.html | |||
%F = %Y-%m-%d | |||
==PHP== | |||
http://php.net/manual/en/function.date.php | |||
Y-m-d | |||
*Y, m, d as in Glibc | |||
*F differs from Glibc and means "A full textual representation of a month" |
Latest revision as of 2014-11-14T05:03:09
HTML
1 | 2 | 3 | 4 | 5 |
---|---|---|---|---|
1582-10-15 | 1582‑10‑15 | 1582‑10‑15 | <nobr>1582-10-15</nobr> | 1582-10-15 |
- @1 using - (U+002D hyphen-minus)
- @2 using "&#X;" with X=8209 (U+2011 non-breaking hyphen) - search for 1582-10-15 (method 1) possibly does not match
- @3 using the sign itself (U+2011 non-breaking hyphen) - search for 1582-10-15 (method 1) possibly does not match
- @4 using nobr-tag around method 1
- @5 using span style="white-space: nowrap;"
Glibc
http://www.gnu.org/software/libc/manual/html_node/Formatting-Calendar-Time.html
%F = %Y-%m-%d
PHP
http://php.net/manual/en/function.date.php
Y-m-d
- Y, m, d as in Glibc
- F differs from Glibc and means "A full textual representation of a month"