craftercms / craftercms

Parent project for Crafter CMS. Issue tracking across all repositories and global builds.
GNU General Public License v3.0
282 stars 98 forks source link

Form control date-time throws error when entering date value while "hours12" site config is set to false #6699

Open suelje opened 3 weeks ago

suelje commented 3 weeks ago

Duplicates

Latest version

Describe the issue

No response

Steps to reproduce

Steps:

  1. Go to project configuration (site-config.xml) and set hours12 to false
  2. Open an content asset with a date-time form control that has properties Show Date and Show Time activated
  3. In case that date and time values are populated, clear values. Input fields should be empty.
  4. Click in the date field and click on a day in the calendar

Relevant log output

( ) Is not a valid time format, please provide a valid time

Screenshots and/or videos

Bildschirmfoto 2024-04-23 um 15 19 26 Bildschirmfoto 2024-04-23 um 15 15 05 Bildschirmfoto 2024-04-23 um 15 12 18