Project

General

Profile

Actions

Feature #22175

closed

Filelist should use IEC prefixes and appropriate units for filesize.

Added by Sigfried Arnold about 14 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2010-02-24
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

Description

The filelist shows filesizes a bit weird using an inappropriate SI prefix - it don't even uses a unit.

Examples:
124 Byte (now "124") should be "123 B"
1.428.278 Byte (now "1.4 M") should be "1.36 MiB (1.42 MB)"
1.150 Byte (now "1.1 K") should be "1.12 KiB (1.15 KB)"

http://physics.nist.gov/cuu/Units/binary.html
(issue imported from #M13645)


Files

13645.diff (2.63 KB) 13645.diff Administrator Admin, 2010-02-24 21:31
13645_v2.diff (2.63 KB) 13645_v2.diff Administrator Admin, 2010-02-24 21:42

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #69380: Set "si" as the default for cObj fileSizesRejectedStefan Froemken2015-08-28

Actions
Precedes TYPO3 Core - Task #67572: Update calls to formatSize to adjust to new unitsClosed2015-06-17

Actions
Actions

Also available in: Atom PDF