1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/cli/command
Yong Tang 4e7e3919ce Restrict size to 2 fractional digits for docker images
This fix tries to address the issue raised in 26300. Previously
`docker images` will use `HumanSize()` to display the size which
has a fixed precision of 4 (thus 3 fractional digits). This
could be problematic in certain languages (e.g. , German, see
26300) as `.` may be interpreted as thousands-separator in number.

This fix use `CustomSize()` instead and limit the precision to 3
(thus 2 fractional digits).

This fix has been tested manually.

This fix fixes 26300.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-09-08 18:26:50 -07:00
..
bundlefile Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
commands Replace api/client imports with cli/command in experimental files. 2016-09-08 15:46:48 -04:00
container Restrict size to 2 fractional digits for docker images 2016-09-08 18:26:50 -07:00
formatter Restrict size to 2 fractional digits for docker images 2016-09-08 18:26:50 -07:00
idresolver Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
image Restrict size to 2 fractional digits for docker images 2016-09-08 18:26:50 -07:00
inspect Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
network Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
node Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
plugin Replace api/client imports with cli/command in experimental files. 2016-09-08 15:46:48 -04:00
registry Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
service Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
stack Replace api/client imports with cli/command in experimental files. 2016-09-08 15:46:48 -04:00
swarm Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
system Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
task Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
volume Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
cli.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
credentials.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
in.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
out.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
registry.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
trust.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
trust_test.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
utils.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00