Document chrono

This commit is contained in:
Victor Zverovich
2020-11-07 10:19:40 -08:00
parent 0506b328b5
commit 263bb0e68d
2 changed files with 13 additions and 14 deletions
+5 -3
View File
@@ -325,9 +325,11 @@ 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>`_. Specifiers that have a
calendaric component such as `'d'` are valid only for ``std::tm`` and not
durations or time points.
<http://en.cppreference.com/w/cpp/chrono/c/strftime>`_ for ``std::tm`` and
in `Meaning of conversion specifiers <https://eel.is/c++draft/time.format>`
for chrono durations and time points. Specifiers that have a calendaric
component such as `'d'` are valid only for ``std::tm`` and not durations or time
points.
.. _formatexamples: