@capillarytech/cap-ui-utils 1.4.17 → 1.4.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capillarytech/cap-ui-utils",
3
- "version": "1.4.17",
3
+ "version": "1.4.18",
4
4
  "description": "Utility functions shared accross all the modules",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -114,7 +114,7 @@ function truncateNumber(num, places) {
114
114
  }
115
115
 
116
116
  function localeBasedNumberFormatting(locale, value) {
117
- const formattedValue = new Intl.NumberFormat(locale || "en-IN", {
117
+ const formattedValue = new Intl.NumberFormat(locale || "en-US", {
118
118
  maximumFractionDigits: 2,
119
119
  }).format(value);
120
120
  return formattedValue;