#1293: AgaviNumberValidator fails with swedish locale for negative numbers
------------------------+---------------------------------------------------
Reporter: jarda | Owner: dominik
Type: defect | Status: new
Priority: normal | Milestone: 1.0.4
Component: validation | Version: 1.0.3
Severity: normal | Keywords:
Has_patch: 0 |
------------------------+---------------------------------------------------
Comment(by david):
ICU has same behavior (I was wondering whether it might be more lenient by
allowing a regular [http://en.wikipedia.org/wiki/Hyphen-minus hypen-minus]
for {{{sv_SE}}}):
{{{
$ php -r '$nf = new NumberFormatter("sv_SE", NumberFormatter::DECIMAL);
var_dump($nf->parse("-1"));'
bool(false)
}}}
--
Ticket URL: <http://trac.agavi.org/ticket/1293#comment:3>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets