Agranom / ngx-material-timepicker

Material desing timepicker for Angular 6.0+
https://agranom.github.io/ngx-material-timepicker/
MIT License
342 stars 139 forks source link

time picker is not working in chrome browser #422

Open adityaJ184 opened 1 year ago

adityaJ184 commented 1 year ago

it shows Invalid DateTime after selecting time. It occurs in latest version of chorme browser.

chrome version (110.0.5481.78)

pablomgs3 commented 1 year ago

I've spent the whole day trying to fix this myself but the problem is only happening on chrome. The issue seems to be related with chrome's locale format and how luxon parses the locale.

As a workaround, you can switch to the 24hr format in your input [format]="24"

Hope this helps until @Agranom can find a fix for this.

Agranom commented 1 year ago

@adityaJ184 Is the issue still valid?