@osovitny/anatoly 2.0.41 → 2.0.42

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.
@@ -717,7 +717,7 @@
717
717
  };
718
718
  LocalizationService.prototype.getLocalizedDate = function (key) {
719
719
  if (dateFns.isValid(new Date(key))) {
720
- return dateFns.format(new Date(key), 'd.M.yyyy', this.dateFnsLocale);
720
+ return dateFns.format(new Date(key), 'dd.MM.yyyy', this.dateFnsLocale);
721
721
  }
722
722
  return "Invalid Date";
723
723
  };
@@ -726,7 +726,7 @@
726
726
  var dateValue = new Date(key);
727
727
  if (dateFns.isValid(dateValue)) {
728
728
  var localDate = Convert.toLocalizedDateTime(dateValue);
729
- return dateFns.format(localDate, 'd.M.yyyy HH:mm', this.dateFnsLocale);
729
+ return dateFns.format(localDate, 'dd.MM.yyyy HH:mm', this.dateFnsLocale);
730
730
  }
731
731
  return "Invalid Date";
732
732
  };