From 1f3d44b859ba55d6e71194e563e7ee477882c92e Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 15 Mar 2022 16:53:51 -0700 Subject: [PATCH] Update std::tm/chrono docs --- doc/syntax.rst | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/doc/syntax.rst b/doc/syntax.rst index 0c803f61..9bf8dba7 100644 --- a/doc/syntax.rst +++ b/doc/syntax.rst @@ -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 -`_ so refer to its -documentation for details on supported conversion specifiers. - .. range-specs: Range Format Specifications