Home > Blockchain >  How do I specify the date format of Tempus Dominus 6 (getdatepicker)?
How do I specify the date format of Tempus Dominus 6 (getdatepicker)?

Time:06-25

I'm using version 6 of Tempus Dominus, whose documentation is found at controller

I then select a date:

controller selection of date

As you can see in the field, the date is written as 06/22/2022. However, I would like the format to be YYYY-MM-DD, such that the date in this instance becomes 2022-06-22. How do I achieve that?

CodePudding user response:

I found documentation for it on the plugins overview page: date format controller

As you can see, the date is now written 2022-06-22.

  • Related