Manage Tax configurations views to use i18n

This commit is contained in:
Jose Alberto Hernandez
2024-04-16 16:27:29 -06:00
committed by Jose Alberto Hernandez
parent cdc9d74122
commit caf3d39719
26 changed files with 261 additions and 115 deletions
+1
View File
@@ -16,6 +16,7 @@ export class DateFormatPipe implements PipeTransform {
return '';
}
let dateVal;
moment.locale(this.settingsService.language.code);
if (value instanceof Array) {
dateVal = moment(value.join('-'), 'YYYY-MM-DD');
} else {