From 297c3b2ed551a4989826fc8c4780bf533e964bd9 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 20 May 2020 15:52:19 -0700 Subject: [PATCH] Fix an example (thanks Alexey Kuzmenko) --- doc/api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api.rst b/doc/api.rst index e7551a58..8aefbdb7 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -100,7 +100,7 @@ locale:: #include std::locale::global(std::locale("en_US.UTF-8")); - auto s = fmt::format("{:n}", 1000000); // s == "1,000,000" + auto s = fmt::format("{:L}", 1000000); // s == "1,000,000" .. _format-api: