config:dformat
Table of Contents
Configuration Setting: dformat
Configures how dates are formatted. This is directly passed to the strftime PHP function.
- Type : String
- Default :
%Y/%m/%d %H:%M
There is one exception which doesn't follow the formatting rules of strftime: You can use %f
to show a fuzzy date (i.e. “%Y/%m/%d %H:%M (%f)
” produces dates like this: “2009/09/16 10:36 (3 weeks ago)”.
Format Examples
%Y/%m/%d %H:%M
⇒ 2019/04/19 13:19%Y/%m/%d %H:%M (%f)
⇒ 2019/04/19 13:19 (3 weeks ago)%d.%m.%Y %H:%M
⇒ 19.04.2019 13:19
See also
config/dformat.txt · Last modified: by Michaelsy