Frontend validation of dates fails on 29-02-2016?

2
I'm currently getting a date validation error on the next upcoming leap-year: 29-02-2016 done by the front end validation? Can anyone confirm this is a bug? The bug occurs when you set a custom date format, and the date input field is disabled from editing.
asked
4 answers
1

OK it does fail on custom formatting of this date EEEE d MMMM

answered
1

Another leap year this year 2020 :) wonder if it will be fixed in 2024

answered
0

This error still persists. When using a custom dateformat (e.g. dd MMM) i get an ‘Invalid Date’ error. 

When i set the format to Date or DateTime the february 29 error diappears. 

answered
0

@Mendix Beheer Enexis

We fixed the custom date formatting issue in 8.7

 

See: https://docs.mendix.com/releasenotes/studio-pro/8.7#870

If a date picker widget has a custom date pattern without year tokens, it will now use the year of its current value when parsing a new value. This ensures that, for example, February 29th is recognized as a valid date if the current value falls within a leap year. The Pluggable Widgets API has been enhanced to cover this use case as well. (Ticket 92181)

Cheers, Andries

answered