Merge pull request #6887 from open-sausages/pulls/4.0/docs-calendar-year-format

Doc dateformats with calendar year
This commit is contained in:
Ingo Schommer 2017-05-09 23:07:25 +12:00 committed by GitHub
commit da3236b0e7

View File

@ -75,7 +75,7 @@ Formats can be set globally in the i18n class.
You can use these settings for your own view logic.
:::php
Config::inst()->update('i18n', 'date_format', 'dd.MM.YYYY');
Config::inst()->update('i18n', 'date_format', 'dd.MM.yyyy');
Config::inst()->update('i18n', 'time_format', 'HH:mm');
Localization in SilverStripe uses PHP's [intl extension](http://php.net/intl).