[PATCH] to Globalize::Currency

Hi there,

this a small patch fixing Globalize::Currency::parse, to not only parse
US
like currency strings. It uses now the Locale.active settings.
hadn’t time to run any tests, so status is: ‘it works for me’ :slight_smile:

Greetings,
Roland
[i’m not subscribed to this list, so please cc me]

unknown wrote:

Hi there,

this a small patch fixing Globalize::Currency::parse, to not only parse
US
like currency strings. It uses now the Locale.active settings.
hadn’t time to run any tests, so status is: ‘it works for me’ :slight_smile:

Greetings,
Roland
[i’m not subscribed to this list, so please cc me]

where is your patch Roland ?

kadoudal at wanadoo.fr

Hi Kad,

i posted via email to the list, the patch didn’t make it through i
think.
Here is an url:
http://web02.rv-net.de/currency.diff

it fixes a secound bug now: parsing a string like ‘1.9’ gave you 1.09$,
but should be 1.90$.

Greetings,
Roland

Kad K. wrote:

unknown wrote:

Hi there,

this a small patch fixing Globalize::Currency::parse, to not only parse
US
like currency strings. It uses now the Locale.active settings.
hadn’t time to run any tests, so status is: ‘it works for me’ :slight_smile:

Greetings,
Roland
[i’m not subscribed to this list, so please cc me]

where is your patch Roland ?

kadoudal at wanadoo.fr