Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Data Model Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Problem validating today date (23/05/2013)


Go to End


1144 Views

Avatar
mirkosassetti

Community Member, 20 Posts

23 May 2013 at 8:29pm

Silverstripe version 2.4.7, my locale is set to italian (i18n::set_locale('it_IT')), i have an SS_Datetime field that worked regularly until today.
Today, entering 23/05/2013, the field don't validate with the error "Please enter a valid date format (dd/MM/yyyy)", but if i enter 22/05/2013 or 24/05/2013, the field validate. If i enter 23/05/2014 the field don't validate with the same error.
Who is against May 23? :)

No one has any idea where can be the problem?
Thanks.