mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #6887 from open-sausages/pulls/4.0/docs-calendar-year-format
Doc dateformats with calendar year
This commit is contained in:
commit
da3236b0e7
@ -75,7 +75,7 @@ Formats can be set globally in the i18n class.
|
|||||||
You can use these settings for your own view logic.
|
You can use these settings for your own view logic.
|
||||||
|
|
||||||
:::php
|
:::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');
|
Config::inst()->update('i18n', 'time_format', 'HH:mm');
|
||||||
|
|
||||||
Localization in SilverStripe uses PHP's [intl extension](http://php.net/intl).
|
Localization in SilverStripe uses PHP's [intl extension](http://php.net/intl).
|
||||||
|
Loading…
Reference in New Issue
Block a user