diff options
author | Thomas Lange <code@nerdmind.de> | 2019-10-16 01:21:01 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2019-10-16 01:21:01 +0200 |
commit | fb7d34f69a0e47643c1e16c9e3d72dbc74b4bc4d (patch) | |
tree | 5bdf061771bd66c6527b8522ab7c8de0d4c43a6f /core/namespace/Post/Item.php | |
parent | e3658b5cf4c70e0b7f910777d08a4cea19b163e4 (diff) | |
download | blog-fb7d34f69a0e47643c1e16c9e3d72dbc74b4bc4d.tar.gz blog-fb7d34f69a0e47643c1e16c9e3d72dbc74b4bc4d.tar.xz blog-fb7d34f69a0e47643c1e16c9e3d72dbc74b4bc4d.zip |
Use strftime() with locale support
This commit changes the parseDatetime() function to use strftime() with locale support to replace the day-and-month name related parts within the format string. The strftime() function uses the locale defined by the LC_TIME or LC_ALL environment variable which can be set with PHPs own setlocale() function within the configuration.php.
Diffstat (limited to 'core/namespace/Post/Item.php')
0 files changed, 0 insertions, 0 deletions