Document chrono

This commit is contained in:
Victor Zverovich
2020-11-07 09:59:57 -08:00
parent 4e426c19d0
commit 0506b328b5
2 changed files with 9 additions and 7 deletions
+5 -5
View File
@@ -421,15 +421,15 @@ For example::
fmt::print("strftime-like format: {:%H:%M:%S}\n", 3h + 15min + 30s);
}
prints::
prints:
Default format: 42s 100ms
strftime-like format: 03:15:30
.. code:: none
Default format: 42s 100ms
strftime-like format: 03:15:30
Chrono format specifications are described in :ref:`chrono-specs`.
.. doxygenclass:: formatter<std::chrono::time_point<std::chrono::system_clock>, Char>
.. _compile-api:
Format string compilation