@fluxhub/fluxhub-lib 10.0.438 → 10.0.439

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.
@@ -905,6 +905,13 @@
905
905
  var m = dt.split("/").map(function (m) { return parseInt(m); });
906
906
  return new Date(m[2], m[1] - 1, m[0]);
907
907
  }
908
+ if (f == 5) {
909
+ // parse date in 20181017 (dd/MM/YYYY)
910
+ if (!dt || dt.length != 8) {
911
+ return null;
912
+ }
913
+ return new Date(parseInt(dt.substring(0, 4)), parseInt(dt.substring(4, 2)) - 1, parseInt(dt.substring(6, 2)));
914
+ }
908
915
  return null;
909
916
  };
910
917
  UtilityService.prototype.sql_number = function (a) {