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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

legacydatetimefields module error in ss3


Go to End


2 Posts   948 Views

Avatar
khanhdeux

Community Member, 13 Posts

19 December 2013 at 4:51am

Hi Team,
I need a Datetime fields for my form but when i run dev/build i get this message
[Strict Notice] Declaration of LegacyDateField_Disabled::Field() should be compatible with FormField::Field($properties = Array)

Do you have the compatible version for ss3. Thanks

Avatar
swaiba

Forum Moderator, 1899 Posts

7 January 2014 at 9:41pm

I'd assume that this module has no intention of supporting the old field in SS3, the comopser.json should probably have a limit of the version it could be used for

It was made to support the date fields moving to ss2.4, no significant updates for 3 years so it is very unlikely ss3 has been considered here. Besides the date / time fields in ss3 are good