Module chrono::format::formatting
source ยท Expand description
Date and time formatting routines.
Structsยง
- A temporary object which can be used as an argument to
format!
or others. This is normally constructed viaformat
methods of each date and time type.
Enumsยง
- Specific formatting options for seconds. This may be extended in the future, so exhaustive matching in external code is not recommended.
Functionsยง
- formatDeprecatedTries to format given arguments with given formatting items. Internally used by
DelayedFormat
. - format_itemDeprecatedFormats single formatting item
- write_hundreds ๐Equivalent to
{:02}
formatting for n < 100. - write_rfc2822 ๐write datetimes like
Tue, 1 Jul 2003 10:52:37 +0200
, same as%a, %d %b %Y %H:%M:%S %z
- write_rfc3339 ๐Writes the date, time and offset to the string. same as
%Y-%m-%dT%H:%M:%S%.f%:z