Mercurial > babel > old > babel-test
diff babel/numbers.py @ 233:bc22f5aef216
Upgraded to CLDR 1.5 and improved timezone formatting.
author | cmlenz |
---|---|
date | Wed, 01 Aug 2007 12:32:20 +0000 |
parents | b566f483b763 |
children | 5e4b1fd6b348 |
line wrap: on
line diff
--- a/babel/numbers.py +++ b/babel/numbers.py @@ -127,7 +127,7 @@ >>> format_currency(1099.98, 'USD', locale='en_US') u'$1,099.98' >>> format_currency(1099.98, 'USD', locale='es_CO') - u'US$1.099,98' + u'US$ 1.099,98' >>> format_currency(1099.98, 'EUR', locale='de_DE') u'1.099,98 \\u20ac' @@ -156,7 +156,7 @@ >>> format_percent(25.1234, locale='en_US') u'2,512%' >>> format_percent(25.1234, locale='sv_SE') - u'2\\xa0512 %' + u'2\\xa0512\\xa0%' The format pattern can also be specified explicitly: