mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-28 07:50:24 +00:00
Follow up r47847: Show the timestemp in users preference timezone
This commit is contained in:
parent
cca12dab2e
commit
06a1e8303d
|
@ -328,7 +328,7 @@ class AbuseFilterViewEdit extends AbuseFilterView {
|
|||
wfMsgExt(
|
||||
'abusefilter-edit-lastmod-text',
|
||||
array( 'parseinline', 'replaceafter' ),
|
||||
array( $wgLang->timeanddate( $row->af_timestamp ), $user )
|
||||
array( $wgLang->timeanddate( $row->af_timestamp, true ), $user )
|
||||
);
|
||||
$history_display = wfMsgExt( 'abusefilter-edit-viewhistory', array( 'parseinline' ) );
|
||||
$fields['abusefilter-edit-history'] =
|
||||
|
|
|
@ -121,7 +121,7 @@ class AbuseFilterHistoryPager extends TablePager {
|
|||
case 'afh_timestamp':
|
||||
$title = SpecialPage::getTitleFor( 'AbuseFilter',
|
||||
'history/'.$row->afh_filter.'/item/'.$row->afh_id );
|
||||
$formatted = $sk->link( $title, $wgLang->timeanddate( $row->afh_timestamp ) );
|
||||
$formatted = $sk->link( $title, $wgLang->timeanddate( $row->afh_timestamp, true ) );
|
||||
break;
|
||||
case 'afh_user_text':
|
||||
$formatted =
|
||||
|
|
|
@ -258,7 +258,7 @@ class AbuseFilterPager extends TablePager {
|
|||
return wfMsgExt(
|
||||
'abusefilter-edit-lastmod-text',
|
||||
array( 'replaceafter', 'parseinline' ),
|
||||
array( $wgLang->timeanddate($value), $userLink )
|
||||
array( $wgLang->timeanddate( $value, true ), $userLink )
|
||||
);
|
||||
default:
|
||||
throw new MWException( "Unknown row type $name!" );
|
||||
|
|
|
@ -67,7 +67,7 @@ class AbuseFilterViewRevert extends AbuseFilterView {
|
|||
'abusefilter-revert-preview-item',
|
||||
array( 'parseinline', 'replaceafter' ),
|
||||
array(
|
||||
$wgLang->timeanddate( $result['timestamp'] ),
|
||||
$wgLang->timeanddate( $result['timestamp'], true ),
|
||||
$sk->userLink( $result['userid'], $result['user'] ),
|
||||
$result['action'],
|
||||
$sk->link( $result['title'] ),
|
||||
|
|
Loading…
Reference in a new issue