We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RFC3339
1 parent d1264d5 commit 0a94c36Copy full SHA for 0a94c36
src/format/mod.rs
@@ -242,6 +242,10 @@ pub enum Fixed {
242
/// RFC 2822 date and time syntax. Commonly used for email and MIME date and time.
243
RFC2822,
244
/// RFC 3339 & ISO 8601 date and time syntax.
245
+ ///
246
+ /// Note that if the year of the `DateTime` is outside of the range 0 through 9999 then the date
247
+ /// while be formatted as an expanded representation according to ISO 8601. These dates are not
248
+ /// supported by, and incompatible with, RFC 3339.
249
RFC3339,
250
251
/// Internal uses only.
0 commit comments