From da2d33f1f1e9576ff12d564e456f2006a5995937 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 12 Jul 2019 16:21:13 -0700 Subject: [PATCH] Update changelog --- ChangeLog.rst | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/ChangeLog.rst b/ChangeLog.rst index 26f2b0a6..822afd08 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,6 +1,32 @@ 6.0.0 - TBD ----------- +* Made floating-point formatting locale-independent: + + .. code:: c++ + + #include + #include + + int main() { + std::locale::global(std::locale("ru_RU.UTF-8")); + fmt::print("value = {}", 4.2); + } + + prints "value = 4.2" regardless of the locale. + + For locale-specific formatting use the ``n`` specifier: + + .. code:: c++ + + std::locale::global(std::locale("ru_RU.UTF-8")); + fmt::print("value = {:n}", 4.2); + + prints "value = 4,2". + +* Stopped setting ``CMAKE_BUILD_TYPE`` if fmt is a subproject + (`#1081 `_). + 5.3.0 - 2018-12-28 ------------------