From f569c1ba28d30dd3070a59140e1c99452d97503c Mon Sep 17 00:00:00 2001 From: Billy Donahue Date: Fri, 12 Apr 2019 12:18:42 -0400 Subject: [PATCH] doc fix: time -> chrono Change refs to fmt/time.h -> fmt/chrono.h RST label rename time-api -> chrono-api --- doc/api.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api.rst b/doc/api.rst index b9985b41..329e79fa 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -10,7 +10,7 @@ The {fmt} library API consists of the following parts: facilities and a lightweight subset of formatting functions * :ref:`fmt/format.h `: the full format API providing compile-time format string checks, output iterator and user-defined type support -* :ref:`fmt/time.h `: date and time formatting +* :ref:`fmt/chrono.h `: date and time formatting * :ref:`fmt/ostream.h `: ``std::ostream`` support * :ref:`fmt/printf.h `: ``printf`` formatting @@ -314,7 +314,7 @@ custom argument formatter class:: .. doxygenclass:: fmt::arg_formatter :members: -.. _time-api: +.. _chrono-api: Date and time formatting ======================== @@ -323,7 +323,7 @@ The library supports `strftime `_-like date and time formatting:: - #include + #include std::time_t t = std::time(nullptr); // Prints "The date is 2016-04-29." (with the current date)