@datarailsshared/dr_renderer 1.2.51 → 1.2.52

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": "@datarailsshared/dr_renderer",
3
- "version": "1.2.51",
3
+ "version": "1.2.52",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -1004,7 +1004,7 @@ var DataFormatterImpl = function () {
1004
1004
  // Call function
1005
1005
  result = this.memoized[pattern].call(this, n, type);
1006
1006
 
1007
- if (result.value === result.pattern) {
1007
+ if (result.value === result.pattern && !(String(n) === '0' && result.value.includes('0'))) {
1008
1008
  result.value = n;
1009
1009
  }
1010
1010
  }