@datarailsshared/dr_renderer 1.2.116 → 1.2.117

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.116",
3
+ "version": "1.2.117",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -4320,6 +4320,11 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
4320
4320
  return '[blank]';
4321
4321
  }
4322
4322
 
4323
+ const parsedToUnix = moment_lib(value).unix();
4324
+ if (typeof (value) != 'number' && parsedToUnix) {
4325
+ value = parsedToUnix;
4326
+ }
4327
+
4323
4328
  if (typeof (value) != 'number') {
4324
4329
  const drAdditionalField = _.find($.pivotUtilities.additionalFieldsList, {key: value});
4325
4330
  if (drAdditionalField && drAdditionalField.key)