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.

General Questions /

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

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

legacydatetimefields module error in ss3


Reply


2 Posts   302 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, 1805 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