DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

Our Privacy Policy

config:dformat

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: 2019-04-19 16:54 by Michaelsy