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
Posted by Thomas Weidner (thomas) on 2008-08-12T13:25:57.000+0000
This feature will be implented in the future like described in the manual. Changed status from bug to new feature.
Posted by Thomas Weidner (thomas) on 2009-06-05T14:40:39.000+0000
Added with r15906