Topic: Datepicker format BUG

japan 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

Opened

Specification of the issue

  • ForumUser: Priority
  • 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