Document chrono

This commit is contained in:
Victor Zverovich
2020-11-07 09:47:56 -08:00
parent 9795d87348
commit 4e426c19d0
2 changed files with 26 additions and 8 deletions

View File

@@ -321,6 +321,12 @@ Format specifications for chrono types have the following syntax:
: "q" | "Q" | "r" | "R" | "S" | "t" | "T" | "u" | "U" | "V" |
: "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>`_.
.. _formatexamples:
Format Examples