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:
e9e0bf8
)
Follow-up r91770: only translate when possible
author
Robin Pepermans
<robin@users.mediawiki.org>
Sat, 9 Jul 2011 12:54:42 +0000
(12:54 +0000)
committer
Robin Pepermans
<robin@users.mediawiki.org>
Sat, 9 Jul 2011 12:54:42 +0000
(12:54 +0000)
languages/Language.php
patch
|
blob
|
history
diff --git
a/languages/Language.php
b/languages/Language.php
index
4ed2465
..
55a2ee7
100644
(file)
--- a/
languages/Language.php
+++ b/
languages/Language.php
@@
-3018,7
+3018,7
@@
class Language {
}
}
// If no duration is given, but a timestamp, display that
- return
$this->timeanddate(
$str );
+ return
( strtotime( $str ) ? $this->timeanddate( strtotime( $str ) ) :
$str );
}
/**