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

Failure in changing datetime directly on input for Spanish and Portuguese languages. #450

Open RohanAntony opened 2 years ago

RohanAntony commented 2 years ago

Versions

Describe the bug Changing the input field values directly in the input doesn't update the datetime picker component for certain languages.

To Reproduce Steps to reproduce the behavior:

  1. Change the default locale of the datetime picker to Spanish or Portugese.
  2. Change the input datetime picker value directly in the input field instead of using the datetime picker.
  3. Change doesn't propagate to the datetime picker object

Expected behavior Default behaviour where the change in time or date in the input directly must be propagated to the datetime picker

Screenshots

  1. image
  2. image

Additional context Could be an error in parsing of the datetime that is passed to the input field.