From: Jens Frank Date: Sat, 22 Jan 2005 09:02:17 +0000 (+0000) Subject: Bug#276 Make date format comply with RFC1123 and RFC2822 X-Git-Tag: 1.5.0alpha1~868 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=73bd28788c0d8f67526cb3fad471bf882a7cbc4e;p=lhc%2Fweb%2Fwiklou.git Bug#276 Make date format comply with RFC1123 and RFC2822 --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 143bb96dd8..567954b325 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1042,7 +1042,7 @@ function wfTimestamp($outputtype=TS_UNIX,$ts=0) { case TS_DB: return gmdate( 'Y-m-d H:i:s', $uts ); case TS_RFC2822: - return gmdate( "D, j M Y H:i:s", $uts ) . ' GMT'; + return gmdate( "D, d M Y H:i:s", $uts ) . ' GMT'; default: wfDebugDieBacktrace( 'wfTimestamp() called with illegal output type.'); }