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:
0fe8767
)
Much more elegant solution for functions that are not sending a timestamp, thanks...
author
Greg Sabino Mullane
<greg@users.mediawiki.org>
Wed, 28 Mar 2007 19:54:45 +0000
(19:54 +0000)
committer
Greg Sabino Mullane
<greg@users.mediawiki.org>
Wed, 28 Mar 2007 19:54:45 +0000
(19:54 +0000)
languages/Language.php
patch
|
blob
|
history
diff --git
a/languages/Language.php
b/languages/Language.php
index
a23c304
..
4f21791
100644
(file)
--- a/
languages/Language.php
+++ b/
languages/Language.php
@@
-753,6
+753,9
@@
class Language {
*/
function timeanddate( $ts, $adj = false, $format = true, $timecorrection = false) {
$this->load();
+
+ $ts = wfTimestamp( TS_MW, $ts );
+
if ( $adj ) {
$ts = $this->userAdjust( $ts, $timecorrection );
}