Fix minor issue with DatePipe Greek culture
This commit is contained in:
parent
af849b6c36
commit
54e0ac6ad4
|
@ -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': {
|
||||
|
|
Loading…
Reference in New Issue