Thread overview
[Issue 21777] std.format: several issues when formatting integers with precision
Mar 28, 2021
Berni44
Apr 11, 2021
Berni44
Apr 13, 2021
Dlang Bot
Apr 15, 2021
Dlang Bot
March 28, 2021
https://issues.dlang.org/show_bug.cgi?id=21777

--- Comment #1 from Berni44 <bugzilla@bernis-buecher.de> ---
One more:

assert(format!"%20.5,4d"(0) == "              0,0000"); // comma is in the
wrong place

--
April 11, 2021
https://issues.dlang.org/show_bug.cgi?id=21777

--- Comment #2 from Berni44 <bugzilla@bernis-buecher.de> ---
Two more:

assert(format!"%0#.8,2s"(12345) == "00,01,23,45");
assert(format!"%0#.9,3x"(55) == "0x000,000,037");

--
April 13, 2021
https://issues.dlang.org/show_bug.cgi?id=21777

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@berni44 created dlang/phobos pull request #7965 "std.format: New version for formatting integral values using writeAligned" fixing this issue:

- Fix Issue 21777 - std.format: several issues when formatting integers with precision

https://github.com/dlang/phobos/pull/7965

--
April 15, 2021
https://issues.dlang.org/show_bug.cgi?id=21777

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #7965 "std.format: New version for formatting integral values using writeAligned" was merged into master:

- 5e180880cb04994b8dc9d88e38e9046f43c5b1d5 by berni44:
  Fix Issue 21777 - std.format: several issues when formatting integers with
precision

https://github.com/dlang/phobos/pull/7965

--