diff options
author | Andreas Gohr <andi@splitbrain.org> | 2008-02-23 13:40:45 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2008-02-23 13:40:45 +0100 |
commit | e656dcd46abfe069ea83271248dbd7aae36554ca (patch) | |
tree | 989cc97f395c6c5102ffa01aaad9a758181bbcc7 /lib/plugins/config/lang/ca/lang.php | |
parent | 8acb31082c9a565d775be0739e6deaf1773f9751 (diff) | |
download | rpg-e656dcd46abfe069ea83271248dbd7aae36554ca.tar.gz rpg-e656dcd46abfe069ea83271248dbd7aae36554ca.tar.bz2 |
use strftime() instead of date() FS#1335 :!:
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
Diffstat (limited to 'lib/plugins/config/lang/ca/lang.php')
-rw-r--r-- | lib/plugins/config/lang/ca/lang.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/config/lang/ca/lang.php b/lib/plugins/config/lang/ca/lang.php index 186026fa6..8d8f09c6a 100644 --- a/lib/plugins/config/lang/ca/lang.php +++ b/lib/plugins/config/lang/ca/lang.php @@ -45,7 +45,7 @@ $lang['youarehere'] = 'Camí d\'engrunes jeràrquic'; $lang['typography'] = 'Substitucions tipogràfiques'; $lang['htmlok'] = 'Permet HTML incrustat'; $lang['phpok'] = 'Permet PHP incrustat'; -$lang['dformat'] = 'Format de data (vg. la funció PHP <a href="http://www.php.net/date">date</a>)'; +$lang['dformat'] = 'Format de data (vg. la funció PHP <a href="http://www.php.net/strftime">strftime</a>)'; $lang['signature'] = 'Signatura'; $lang['toptoclevel'] = 'Nivell superior per a la taula de continguts'; $lang['maxtoclevel'] = 'Nivell màxim per a la taula de continguts'; |