[TYPO3-core] RFC #13645: Bug and Cleanup: t3lib_div::formatSize should use IEC prefixes and appropriate units

Sigfried Arnold s.arnold at rebell.at
Fri Apr 16 18:04:33 CEST 2010


Hello,

i followed Xavier Perseguers suggestions and applied CGL, added more 
Comments, added configuration to config_defaults.php and could now 
satisfy everybody. Patch against latest trunk is attached.

Default configuration is "traditional" so the behaviour does not change 
when the patch is applied. By setting byteSizeFormat to "iec" or "si" in 
localconf.php the calculation and/or the unit prefix is changed.

Patch works with 4.2, 4.3 and 4.4,

Regards
Sigfried Arnold


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 13645_v3.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100416/b9c66251/attachment.txt>


More information about the TYPO3-team-core mailing list