@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.
@@ -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], 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, 2);
577
+ return setHours(value, 12);
578
578
  }
579
579
  /**
580
580
  * Update a DateInterval object according to a string