dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Put registration time in local timezone
[lhc/web/wiklou.git]
/
includes
/
Exif.php
diff --git
a/includes/Exif.php
b/includes/Exif.php
index
5581f1d
..
f601c92
100644
(file)
--- a/
includes/Exif.php
+++ b/
includes/Exif.php
@@
-1080,6
+1080,8
@@
class FormatExif {
* @return mixed A floating point number or whatever we were fed
*/
function formatNum( $num ) {
+ global $wgLang;
+
$m = array();
if ( preg_match( '/^(\d+)\/(\d+)$/', $num, $m ) )
return $wgLang->formatNum( $m[2] != 0 ? $m[1] / $m[2] : $num );