danielmoncada / date-time-picker-moment-adapter

Moment.js adapter for https://github.com/danielmoncada/date-time-picker
MIT License
5 stars 10 forks source link

OWL_DATE_TIME_FORMATS not working on angular 13 #6

Closed quan1997ap closed 1 year ago

quan1997ap commented 2 years ago

I'm setting OWL_DATE_TIME_FORMATS with { provide: OWL_DATE_TIME_LOCALE, useValue: 'vi-VN' } but it not working I try your demo https://stackblitz.com/edit/angular-ae6mv3?file=app%2Fapp.module.ts but it only run on angular 5. How can i fix this.

Thanks you

danielmoncada commented 1 year ago

this is not for angular 13. https://github.com/danielmoncada/date-time-picker supports 14 and above