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: