Topic: Datetimepicker comma between date and time

dustinwebpoint-us premium asked 6 months ago

Is there any simple way to remove the comma from the date time? Both in the display and when I submit the form there is a comma. IE: 12/1/2023,03:30 PM.

Here's my code where I'm setting the date format:

document.querySelectorAll('[data-mdb-datetimepicker-init]').forEach(dtTimePicker => {
        const options = {
            datepicker: { format: 'm/d/yyyy' }
        const myDatetimepicker = new mdb.Datetimepicker(dtTimePicker);

Kamila Pieńkowska staff answered 6 months ago

We currently do not have the option to change or remove coma from the picker.

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 7.1.0
  • Device: PC
  • Browser: Firefox
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: No