Follow up r47847: Show the timestemp in users preference timezone

This commit is contained in:
Raimond Spekking 2009-03-11 18:58:38 +00:00
parent cca12dab2e
commit 06a1e8303d
4 changed files with 4 additions and 4 deletions

View file

@ -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'] =

View file

@ -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 =

View file

@ -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!" );

View file

@ -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'] ),