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§
- format
Deprecated Tries to format given arguments with given formatting items. Internally used byDelayedFormat
. - format_
item Deprecated Formats single formatting item - Equivalent to
{:02}
formatting for n < 100. - write datetimes like
Tue, 1 Jul 2003 10:52:37 +0200
, same as%a, %d %b %Y %H:%M:%S %z
- Writes the date, time and offset to the string. same as
%Y-%m-%dT%H:%M:%S%.f%:z