Skip to content
Snippets Groups Projects
  • Andreas Gohr's avatar
    e656dcd4
    use strftime() instead of date() FS#1335 :!: · e656dcd4
    Andreas Gohr authored
    This patch replaces the use of the date() function with the strftime()
    function. The latter will respect a set locale and will use localized
    strings for things like month names.
    
    Because the format options for strftime differ from the ones used in date,
    DokuWiki will rest the value of $conf['dformat'] if it contains an old
    date format string (detected by missing % characters).
    
    Plugins or templates using the $conf['dformat'] need to be updated.
    
    darcs-hash:20080223124045-7ad00-6afb2b839afc58781463e25577e06adb675fff79.gz
    e656dcd4
    History
    use strftime() instead of date() FS#1335 :!:
    Andreas Gohr authored
    This patch replaces the use of the date() function with the strftime()
    function. The latter will respect a set locale and will use localized
    strings for things like month names.
    
    Because the format options for strftime differ from the ones used in date,
    DokuWiki will rest the value of $conf['dformat'] if it contains an old
    date format string (detected by missing % characters).
    
    Plugins or templates using the $conf['dformat'] need to be updated.
    
    darcs-hash:20080223124045-7ad00-6afb2b839afc58781463e25577e06adb675fff79.gz
Code owners
Assign users and groups as approvers for specific file changes. Learn more.