Fix minor issue with DatePipe Greek culture

This commit is contained in:
George Kalampokis 2020-11-17 16:37:23 +02:00
parent af849b6c36
commit 54e0ac6ad4
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
import { DatePipe, registerLocaleData } from '@angular/common';
import localeEl from '@angular/common/locales/el';
import localeDe from '@angular/common/locales/de';
import localeEs from '@angular/common/locales/es';
import localeSk from '@angular/common/locales/sk';
@ -47,6 +48,7 @@ export class DateTimeCultureFormatPipe implements PipeTransform {
}
case 'gr': {
locale = this.cultureValues.get('el-GR').name;
registerLocaleData(localeEl);
break;
}
case 'es': {