dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7794c7c
)
Bug#276 Make date format comply with RFC1123 and RFC2822
author
Jens Frank
<jeluf@users.mediawiki.org>
Sat, 22 Jan 2005 09:02:17 +0000
(09:02 +0000)
committer
Jens Frank
<jeluf@users.mediawiki.org>
Sat, 22 Jan 2005 09:02:17 +0000
(09:02 +0000)
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
143bb96
..
567954b
100644
(file)
--- 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.');
}