01tonythomas has uploaded a new change for review.
https://gerrit.wikimedia.org/r/118821
Change subject: Special:DispatchStats should use timestamp format wrt user
Preference
......................................................................
Special:DispatchStats should use timestamp format wrt user Preference
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/21/118821/1
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: newchange
Gerrit-Change-Id: I62c88f77120821a955f68b347abf4daa3a4abd65
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: 01tonythomas <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits