@nettyapps/ntybase 21.1.33 → 21.1.34

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.
@@ -850,7 +850,7 @@ class CommonService {
850
850
  * @returns
851
851
  */
852
852
  dateFormatter(dateValue) {
853
- return this.datePipe.transform(dateValue, 'dd-MM-yyyy') ?? '';
853
+ return this.datePipe.transform(dateValue, 'dd.MM.yyyy') ?? '';
854
854
  }
855
855
  /**
856
856
  * Format date into 'dd-MM-yyyy HH:mm:ss' format for grids
@@ -860,9 +860,9 @@ class CommonService {
860
860
  */
861
861
  dateTimeFormatter(dateValue, seconds = true) {
862
862
  if (seconds) {
863
- return this.datePipe.transform(dateValue, 'dd/MM/yyyy HH:mm:ss') ?? '';
863
+ return this.datePipe.transform(dateValue, 'dd.MM.yyyy HH:mm:ss') ?? '';
864
864
  }
865
- return this.datePipe.transform(dateValue, 'dd/MM/yyyy HH:mm') ?? '';
865
+ return this.datePipe.transform(dateValue, 'dd.MM.yyyy HH:mm') ?? '';
866
866
  }
867
867
  /**
868
868
  * Format time into 'HH:mm' or 'HH:mm:ss' format for grids