Index: trunk/extensions/CentralAuth/specials/SpecialCentralAuth.php |
— | — | @@ -282,7 +282,7 @@ |
283 | 283 | $age = $this->prettyTimespan( wfTimestamp( TS_UNIX ) - wfTimestamp( TS_UNIX, $reg ) ); |
284 | 284 | $attribs = array( |
285 | 285 | 'id' => $globalUser->getId(), |
286 | | - 'registered' => $wgLang->timeanddate( $reg ) . " ($age)", |
| 286 | + 'registered' => $wgLang->timeanddate( $reg, true ) . " ($age)", |
287 | 287 | 'home' => $this->determineHomeWiki(), |
288 | 288 | 'editcount' => $wgLang->formatNum( $this->evaluateTotalEditcount() ), |
289 | 289 | 'locked' => $globalUser->isLocked() ? wfMsg( 'centralauth-admin-yes' ) : wfMsg( 'centralauth-admin-no' ), |
— | — | @@ -385,7 +385,7 @@ |
386 | 386 | // invisible, to make this column sortable |
387 | 387 | Html::element( 'span', array( 'style' => 'display: none' ), htmlspecialchars( $row['attachedTimestamp'] ) ) . |
388 | 388 | // visible date and time in users preference |
389 | | - htmlspecialchars( $wgLang->timeanddate( $row['attachedTimestamp'] ) ) . |
| 389 | + htmlspecialchars( $wgLang->timeanddate( $row['attachedTimestamp'], true ) ) . |
390 | 390 | '</td>' . |
391 | 391 | '<td style="text-align: center">' . $this->formatMergeMethod( $row['attachedMethod'] ) . '</td>' . |
392 | 392 | '<td>' . $this->formatBlockStatus( $row ) . '</td>' . |
— | — | @@ -409,9 +409,9 @@ |
410 | 410 | return wfMsgExt( 'centralauth-admin-blocked-indef', 'parseinline', array( $reason ) ); |
411 | 411 | } else { |
412 | 412 | global $wgLang; |
413 | | - $expiry = $wgLang->timeanddate( $row['block-expiry'] ); |
414 | | - $expiryd = $wgLang->date( $row['block-expiry'] ); |
415 | | - $expiryt = $wgLang->time( $row['block-expiry'] ); |
| 413 | + $expiry = $wgLang->timeanddate( $row['block-expiry'], true ); |
| 414 | + $expiryd = $wgLang->date( $row['block-expiry'], true ); |
| 415 | + $expiryt = $wgLang->time( $row['block-expiry'], true ); |
416 | 416 | $reason = $row['block-reason']; |
417 | 417 | |
418 | 418 | $text = wfMsgExt( 'centralauth-admin-blocked', 'parseinline', array( $expiry, $reason, $expiryd, $expiryt ) ); |