Update std::tm/chrono docs

This commit is contained in:
Victor Zverovich 2022-03-15 16:53:51 -07:00
parent bc654faf82
commit 1f3d44b859

View File

@ -304,7 +304,8 @@ The available presentation types for pointers are:
Chrono Format Specifications
============================
Format specifications for chrono types have the following syntax:
Format specifications for chrono types and ``std::tm`` have the following
syntax:
.. productionlist:: sf
chrono_format_spec: [[`fill`]`align`][`width`]["." `precision`][`chrono_specs`]
@ -348,10 +349,6 @@ points are:
Specifiers that have a calendaric component such as `'d'` (the day of month)
are valid only for ``std::tm`` and not durations or time points.
``std::tm`` uses the system's `strftime
<https://en.cppreference.com/w/cpp/chrono/c/strftime>`_ so refer to its
documentation for details on supported conversion specifiers.
.. range-specs:
Range Format Specifications