@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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +7 -0
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/services/utility.service.js +8 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +7 -0
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -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) {
|