Manage Tax configurations views to use i18n
This commit is contained in:
committed by
Jose Alberto Hernandez
parent
cdc9d74122
commit
caf3d39719
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user