Bug #22976 See Comments

Event field calendar generates invalid date format

Version: 2.11.5 Reporter: siffring

This is an archived bug report. If you are experiencing a similar issue, upgrade to the latest release and if that does not solve the problem, submit a new bug report

We just upgraded a site to 2.11.6. It has a native Date 1.0 field on a channel that generates invalid dates.

  1. Create a new entry with a Date field
  2. Use the field’s calendar to pick a date. Note that the format in the field is MM/DD/YY
  3. Publish the entry.

I get a validation error “The date you submitted is not valid.”

  1. Manually change the field value to MM/DD/YYYY (four digit year) without using the calendar picker.
  2. Publish the entry.

The entry gets published as expected.

So, it seems the calendar picker is generating two digit years but the form validation is expecting four digit years.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases