fetrarij / ngx-daterangepicker-material

Pure Angular 2+ date range picker with material design theme, a demo here:
https://fetrarij.github.io/ngx-daterangepicker-material/
MIT License
246 stars 247 forks source link

When selecting only a starDate and validate, an error occurs in the console #549

Open bertrandg opened 2 months ago

bertrandg commented 2 months ago

Versions

Describe the bug When selecting only a starDate and validate, an error occurs in the console

ERROR TypeError: Cannot read properties of undefined (reading 'selectedHour')
    at n.getDateWithTime (main.4aff6f33def5f316.js:1:358513)

To Reproduce

Expected behavior No error in console

Screenshots

image

Additional context It was not happening before dayjs implementation.