@arsedizioni/ars-utils 19.3.22 → 19.3.24
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/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +15 -17
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.mjs +2 -2
- package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +14 -16
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +11 -15
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
- package/package.json +9 -9
|
@@ -521,7 +521,7 @@ class SystemUtils {
|
|
|
521
521
|
return null;
|
|
522
522
|
else if (parts[1] !== 1 && parts[2] > 31)
|
|
523
523
|
return null;
|
|
524
|
-
return new Date(parts[0], parts[1], parts[2],
|
|
524
|
+
return new Date(parts[0], parts[1], parts[2], 12);
|
|
525
525
|
}
|
|
526
526
|
/**
|
|
527
527
|
* Format a date
|
|
@@ -574,7 +574,7 @@ class SystemUtils {
|
|
|
574
574
|
if (!(value instanceof Date && value.getTime()))
|
|
575
575
|
return null;
|
|
576
576
|
// Update date
|
|
577
|
-
return setHours(value,
|
|
577
|
+
return setHours(value, 12);
|
|
578
578
|
}
|
|
579
579
|
/**
|
|
580
580
|
* Update a DateInterval object according to a string
|