mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Doc dateformats with calendar year
https://github.com/silverstripe/silverstripe-framework/issues/3749 http://stackoverflow.com/questions/1978051/zend-datetostring-outputs-the-wrong-year-bug-in-my-code-or-zend-date https://en.wikipedia.org/wiki/ISO_week_date#Disadvantages
This commit is contained in:
parent
d2c6c539d2
commit
20e57e9dec
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user