@fluxhub/fluxhub-lib 10.0.438 → 10.0.440

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) {
@@ -2639,7 +2646,8 @@
2639
2646
  this.data = data;
2640
2647
  this.modifiche = [];
2641
2648
  this.title = "";
2642
- this.title = data.title.toUpperCase();
2649
+ if (data.title != null)
2650
+ this.title = data.title.toUpperCase();
2643
2651
  this.modifiche = JSON.parse(data.dt);
2644
2652
  }
2645
2653
  fh_win_show_log_dett.prototype.close = function () {