ZF-3936: Zend_Measure_Binary is not locale aware

Issue Type: New Feature Created: 2008-08-12T13:00:24.000+0000 Last Updated: 2009-06-05T14:40:51.000+0000 Status: Resolved Fix version(s): - 1.9.0 (31/Jul/09)

Reporter: Martin Hujer (mhujer) Assignee: Thomas Weidner (thomas) Tags: - Zend_Measure

Related issues: Attachments:


<pre class="highlight">
$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);

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


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

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.