@seniorsistemas/angular-components 16.10.4 → 16.10.5

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.
@@ -4035,11 +4035,11 @@ var FileUploadComponent = /** @class */ (function () {
4035
4035
  .then(function (metadata) { return _this.setModifiedDate(metadata); });
4036
4036
  };
4037
4037
  FileUploadComponent.prototype.setModifiedDate = function (metadata) {
4038
- var hour = moment$4(metadata.modified).hour();
4039
- var minutes = moment$4(metadata.modified).minutes();
4040
- var day = moment$4(metadata.modified).date();
4041
- var month = moment$4(metadata.modified).month();
4042
- var fullYear = moment$4(metadata.modified).year();
4038
+ var hour = moment$4(metadata.modified).format("HH");
4039
+ var minutes = moment$4(metadata.modified).format("mm");
4040
+ var day = moment$4(metadata.modified).format("DD");
4041
+ var month = moment$4(metadata.modified).format("MM");
4042
+ var fullYear = moment$4(metadata.modified).format("YYYY");
4043
4043
  this.modifiedDate = this.translate.instant("platform.angular_components.date_modified_custom_blob", { hour: hour, minutes: minutes, day: day, month: month, fullYear: fullYear });
4044
4044
  };
4045
4045
  var FileUploadComponent_1;