Document chrono
This commit is contained in:
+4
-2
@@ -319,13 +319,15 @@ Format specifications for chrono types have the following syntax:
|
||||
chrono_type: "a" | "A" | "b" | "B" | "c" | "C" | "d" | "D" | "e" | "F" |
|
||||
: "g" | "G" | "h" | "H" | "I" | "j" | "m" | "M" | "n" | "p" |
|
||||
: "q" | "Q" | "r" | "R" | "S" | "t" | "T" | "u" | "U" | "V" |
|
||||
: "w" | "W" | "x" | "X" | "y" | "Y" | "z" | "Z" | "%" |
|
||||
: "w" | "W" | "x" | "X" | "y" | "Y" | "z" | "Z" | "%"
|
||||
|
||||
Literal chars are copied unchanged to the output. Precision is valid only for
|
||||
``std::chrono::duration`` types with a floating-point representation type.
|
||||
|
||||
*conversion_spec* are conversion specifiers documented in `strftime
|
||||
<http://en.cppreference.com/w/cpp/chrono/c/strftime>`_.
|
||||
<http://en.cppreference.com/w/cpp/chrono/c/strftime>`_. Specifiers that have a
|
||||
calendaric component such as `'d'` are valid only for ``std::tm`` and not
|
||||
durations or time points.
|
||||
|
||||
.. _formatexamples:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user