globalize icon indicating copy to clipboard operation
globalize copied to clipboard

A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data

Results 114 globalize issues
Sort by recently updated
recently updated
newest added

Based on CLDR, for [fr-CH]( https://github.com/unicode-cldr/cldr-numbers-full/blob/master/main/fr-CH/numbers.json#L30) it has a different decimal separator for Currency formatting.

Hello, thank you for this package. Could you please check if this is a bug. I am trying to escape a message pattern argument using single quotes. The argument is...

Globalize 1.2.2 The example speaks for itself: Globalize.numberParser({style:"percent"})("50.555%"); => NaN Globalize.numberParser({style:"percent", maximumFractionDigits: 2})("50.555%") => 0.50555 (actually 0.5055499999999999, but that is another problem) In fact, I can put any number on...

bug

Hi, I'm using globalizejs 1.0.1. When I try to format a percentage (minimumFractionDigits: 2, maximumFractionDigits: 2) everything works fine except one scenario. Given a value equal to -0.003, I get...

bug
number module
quick change

Ref: similar issue than reported in https://github.com/tc39/ecma402/issues/241 ```js Globalize("pt-PT").formatCurrency(1, "PTE"); > "1,00 ​" ``` [UTS#35](http://www.unicode.org/reports/tr35/tr35-numbers.html#Currencies) says: > Currencies can also contain optional grouping, decimal data, and pattern elements. This data...

There are a lot of checks all over the place for example : ```javascript validateParameterPresence( unit, "unit" ); validateParameterTypeString( unit, "unit" ); ``` Are they useful in production ? In...

I believe nowadays everyone uses ES7 modules or commonJS (with a sort of webpack for the web) or are moving towards it. The goal of this issue is to collect...

question
breaking change

Thanks for this great package! :-) The LDML spec says: "Two adjacent single vertical quotes (''), which represent a literal single quote, either inside or outside quoted text." However `globalize.dateFormatter({raw:...

bug
date module

I'm considering to drop jQuery coding style in favor of https://prettier.io/ (default configs). Along with this we should finally move from jshint + jscs towards eslint.