Ingo Schommer 2017-05-08 22:08:14 +12:00
parent d2c6c539d2
commit 20e57e9dec

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).