From 295a60ec8dfee3b1757e0ce447a9b352363a5c9a Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 7 Nov 2020 10:30:23 -0800 Subject: [PATCH] Document chrono --- doc/api.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/api.rst b/doc/api.rst index 8a4932a6..39544786 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -408,7 +408,8 @@ Date and Time Formatting ``fmt/chrono.h`` provides formatters for * `std::chrono::duration `_ -* `std::chrono::time_point `_ +* `std::chrono::time_point + `_ * `std::tm `_ For example:: @@ -428,7 +429,7 @@ For example:: // Prints "strftime-like format: 03:15:30": fmt::print("strftime-like format: {:%H:%M:%S}\n", 3h + 15min + 30s); -Chrono format specifications are described in :ref:`chrono-specs`. +The syntax is described in :ref:`chrono-specs`. .. _compile-api: