silverstripe / cwp

Common Web Platform (CWP) features module. We strongly recommend using it for all new CWP projects. Future features will be delivered here.
https://www.cwp.govt.nz
BSD 3-Clause "New" or "Revised" License
10 stars 26 forks source link

DateField is in wrong (US) format instead of NZ format #147

Closed pjayme closed 6 years ago

pjayme commented 6 years ago

The issue occurs in IE11 and Firefox browsers, we have confirmed that we have set the locale correctly in the configs and CMS settings.

This occurred with a custom field as well as an existing CMS field.

DateField::create('Date', 'Event date')

This occurs in: SS4.2/CWP2.1

robbieaverill commented 6 years ago

@pjayme thanks, do you think this might be a core issue or specific to something CWP is doing?