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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   586 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