aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVictor Zverovich <viz@fb.com>2020-05-20 15:52:19 -0700
committerVictor Zverovich <viz@fb.com>2020-05-20 15:52:19 -0700
commit297c3b2ed551a4989826fc8c4780bf533e964bd9 (patch)
tree0235ead83e6f4e8c4e1f4213a4a977385e740e58 /doc
parent943532fecee35f3d0f8fda7fa8431a85b36c50ce (diff)
downloadfmtlib-297c3b2ed551a4989826fc8c4780bf533e964bd9.tar.gz
Fix an example (thanks Alexey Kuzmenko)
Diffstat (limited to 'doc')
-rw-r--r--doc/api.rst2
1 files changed, 1 insertions, 1 deletions
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 <locale>
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: