Skip to content

Commit 7d78942

Browse files
authored
Add compatibility note to 'c' date format (#4847)
The 'c' format produces invalid ISO8601 dates for years 10000 and above. This is not necessarily wrong, but the documentation should warn about this explicitly.
1 parent 94281c4 commit 7d78942

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/datetime/datetimeinterface/format.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@
321321
</row>
322322
<row>
323323
<entry><literal>c</literal></entry>
324-
<entry>ISO 8601 date</entry>
324+
<entry>ISO 8601 date. Only compatible with the non-expanded format (up to year 9999). Later dates will result in an invalid string. For later dates and expanded format, see <literal>x</literal> and <literal>X</literal>.</entry>
325325
<entry>2004-02-12T15:19:21+00:00</entry>
326326
</row>
327327
<row>

0 commit comments

Comments
 (0)