mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-12 06:37:28 +00:00
Correct formatting
This commit is contained in:
parent
a3929b719a
commit
4e279e2a70
@ -42,7 +42,7 @@ arguments in the resulting string.
|
|||||||
Date and time formatting
|
Date and time formatting
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
The library supports [strftime](http://en.cppreference.com/w/cpp/chrono/c/strftime)-like
|
The library supports `strftime <http://en.cppreference.com/w/cpp/chrono/c/strftime>`_-like
|
||||||
date and time formatting::
|
date and time formatting::
|
||||||
|
|
||||||
#include "fmt/time.h"
|
#include "fmt/time.h"
|
||||||
@ -52,7 +52,7 @@ date and time formatting::
|
|||||||
fmt::print("The date is {:%Y-%m-%d}.", *std::localtime(&t));
|
fmt::print("The date is {:%Y-%m-%d}.", *std::localtime(&t));
|
||||||
|
|
||||||
The format string syntax is described in the documentation of
|
The format string syntax is described in the documentation of
|
||||||
[strftime](http://en.cppreference.com/w/cpp/chrono/c/strftime).
|
`strftime <http://en.cppreference.com/w/cpp/chrono/c/strftime>`_.
|
||||||
|
|
||||||
Argument formatters
|
Argument formatters
|
||||||
-------------------
|
-------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user