danielmoncada / date-time-picker

Angular Date Time Picker (Responsive Design)
https://daniel-projects.firebaseapp.com/owlng/date-time-picker
MIT License
137 stars 59 forks source link

Max Date doesn't work properly #164

Open imdanielaalves opened 1 year ago

imdanielaalves commented 1 year ago

Angular Version: 12.2.13 Date Time Picker Version: 13.1.1 Date Time Picker Dayjs Adapter: 1.1.1

I'm replacing the MomentJS to DayJS in my project. When I define the 'max' input with the current date, in the datepicker I can't select the current day. If I enter manually works.

Max Date: 26.07.2022 13:49

Date Time Picker: image

Do you have any idea or solution to fix this?

The date input should be always a dayjs or can I use ISO format?