Datepicker format BUG


Topic: Datepicker format BUG

japan pro premium priority asked 2 years ago

Datepicker with format 'd.m.yyyy' doesn't work correctly, month isn't transform.

Example If I select date 25.january.2000 without formating ... value is 25/01/2000 with 'dd.mm.yyyy' ... value is 25.01.2000 with 'd.m.yyyy' ... value is 25.0.2000 (in JS getMonth return 0-11)


Wojciech Staniszewski staff commented 2 years ago

Could you paste your MDBDatepicker code sample?


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Open

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 4.1.0
  • Device: pc
  • Browser: Chrome
  • OS: Win
  • Provided sample code: No
  • Provided link: No
Tags