Message of the day:
Release 4.5.0 is out. Changelog: https://docs.silverstripe.org/en/4/changelogs/4.5.0
SilverStripe 4 related information and questions.
Well, you see XD That was on 2.4 and it was used to set the format in which the inputed value should be saved on DB
not sure about datevalueformat, what exactly does that do?
Those are the immediate ones, a quick search tells me there are 37 instances of
setConfig() on my code XD
- ->setConfig('showcalendar', true)
- ->setConfig('dateformat', 'dd-MM-yyyy')
- ->setConfig('datevalueformat', 'yyyy-MM-dd')
depends, which config setting are you trying to apply?
Anyone able to point me to which methods I need to use now that
DateField::setConfig() has been removed?
Found this: https://github.com/silverstripe/silverstripe-framework/blob/4.0.0-alpha4/src/Forms/MoneyField.php#L122 - Seems to be fixed on dev-master... Testing now
Not sure this is a bug, but there's a chance... My money fields are displaying with the wrong number of decimal places: