Issues

ZF-3936: Zend_Measure_Binary is not locale aware

Description


$locale = new Zend_Locale('cs_CZ');

require_once 'Zend/Registry.php';
Zend_Registry::set('Zend_Locale', $locale);
$m = new Zend_Measure_Binary(1000000, 'BYTE', $locale);

$m->setType(Zend_Measure_Binary::KILOBYTE);
echo $m->toString(3); //outputs 976.563 kB should be 976,563 kB

Comments

This feature will be implented in the future like described in the manual. Changed status from bug to new feature.

Added with r15906