jenkins-bot has submitted this change and it was merged.

Change subject: Special:DispatchStats should adjust times to user's time zone
......................................................................


Special:DispatchStats should adjust times to user's time zone

Special:DispatchStats gives the timestamp always in UTC, but there
should be adjust to the user timezones from the preferences, as all
other timestamps usually are.

Bug: 62428
Change-Id: I62c88f77120821a955f68b347abf4daa3a4abd65
---
M repo/includes/specials/SpecialDispatchStats.php
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Hoo man: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/repo/includes/specials/SpecialDispatchStats.php 
b/repo/includes/specials/SpecialDispatchStats.php
index f9c9bf8..c805e44 100644
--- a/repo/includes/specials/SpecialDispatchStats.php
+++ b/repo/includes/specials/SpecialDispatchStats.php
@@ -91,13 +91,13 @@
                $this->outputRow( array(
                        $this->msg( 'wikibase-dispatchstats-oldest-change' 
)->text(),
                        $stats->getMinChangeId(),
-                       $lang->timeanddate( $stats->getMinChangeTimestamp() ),
+                       $lang->timeanddate( $stats->getMinChangeTimestamp(), 
true ),
                ) );
 
                $this->outputRow( array(
                        $this->msg( 'wikibase-dispatchstats-newest-change' 
)->text(),
                        $stats->getMaxChangeId(),
-                       $lang->timeanddate( $stats->getMaxChangeTimestamp() ),
+                       $lang->timeanddate( $stats->getMaxChangeTimestamp(), 
true ),
                ) );
 
                $this->getOutput()->addHTML( Html::closeElement( 'table' ));

-- 
To view, visit https://gerrit.wikimedia.org/r/118821
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I62c88f77120821a955f68b347abf4daa3a4abd65
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: 01tonythomas <01tonytho...@gmail.com>
Gerrit-Reviewer: Danny B. <dann...@email.cz>
Gerrit-Reviewer: Hoo man <h...@online.de>
Gerrit-Reviewer: Lydia Pintscher <lydia.pintsc...@wikimedia.de>
Gerrit-Reviewer: WikidataJenkins <wikidata-servi...@wikimedia.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to