Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
600
Date Picker 12 hour format : issue with regional, locale
posted

Hello Team,

I want to use ig-date-picker with 12 hour format as below :

I have implemented is as below :

HTML:

<ig-date-picker #igwidget [(ngModel)]="dueDate" [(options)]="datePickerOptions"></ig-date-picker>

ts:

datePickerOptions = {
regional: 'en', dateInputFormat: 'dd.MM.yyyy hh:mm tt', dateDisplayFormat: 'dd.MM.yyyy hh:mm tt', dataMode: 'date'
};

It shows the correct data when selected , but when unselected , the data is shown in Japanese:

When selected:

When not selected:

Also tried adding locale, but still giving same issue. 

Not able to figure out exact issue.

Thank You in advance,

Trupti Sarode

Parents
No Data
Reply Children
No Data