From 73bd28788c0d8f67526cb3fad471bf882a7cbc4e Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Sat, 22 Jan 2005 09:02:17 +0000 Subject: [PATCH] Bug#276 Make date format comply with RFC1123 and RFC2822 --- includes/GlobalFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.'); } -- 2.20.1