User adjust git timestamp for extensions on Special:Version
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 16 Aug 2014 20:53:57 +0000 (22:53 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Sat, 16 Aug 2014 20:53:57 +0000 (22:53 +0200)
User with a timezone in its preferences does not see the git timestamp
in the local timezone.
The timestamp for mediawiki/core gets already adjust.

Change-Id: I412281670766bd9404fc829cac8eae277449c6a0

includes/specials/SpecialVersion.php

index 87ab41c..4b1abac 100644 (file)
@@ -724,7 +724,7 @@ class SpecialVersion extends SpecialPage {
                        if ( $vcsDate ) {
                                $vcsTimeString = Html::element( 'span',
                                        array( 'class' => 'mw-version-ext-vcs-timestamp' ),
-                                       $this->getLanguage()->timeanddate( $vcsDate )
+                                       $this->getLanguage()->timeanddate( $vcsDate, true )
                                );
                                $versionString .= " {$vcsTimeString}";
                        }