Index: trunk/extensions/CheckUser/CheckUser_body.php |
— | — | @@ -311,10 +311,10 @@ |
312 | 312 | $s .= ' (<a href="' . $blockip->escapeLocalURL( 'ip='.urlencode($ip) ).'">' . |
313 | 313 | wfMsgHtml('blocklink') . '</a>)'; |
314 | 314 | if( $ips_first[$ip] == $ips_last[$ip] ) { |
315 | | - $s .= ' (' . $wgLang->timeanddate( $ips_first[$ip], true ) . ') '; |
| 315 | + $s .= ' (' . $wgLang->timeanddate( wfTimestamp(TS_MW,$ips_first[$ip]), true ) . ') '; |
316 | 316 | } else { |
317 | | - $s .= ' (' . $wgLang->timeanddate( $ips_first[$ip], true ) . |
318 | | - ' -- ' . $wgLang->timeanddate( $ips_last[$ip], true ) . ') '; |
| 317 | + $s .= ' (' . $wgLang->timeanddate( wfTimestamp(TS_MW,$ips_first[$ip]), true ) . |
| 318 | + ' -- ' . $wgLang->timeanddate( wfTimestamp(TS_MW,$ips_last[$ip]), true ) . ') '; |
319 | 319 | } |
320 | 320 | $s .= ' <strong>[' . $edits . ']</strong>'; |
321 | 321 | |
— | — | @@ -444,10 +444,10 @@ |
445 | 445 | $wgTitle->escapeLocalURL( 'user='.urlencode($ip).'&reason='.urlencode($reason).'&checktype=subipusers' ) . |
446 | 446 | '">'.$ip.'</a>'; |
447 | 447 | if( $row->first == $row->last ) { |
448 | | - $s .= ' (' . $wgLang->timeanddate( $row->first, true ) . ') '; |
| 448 | + $s .= ' (' . $wgLang->timeanddate( wfTimestamp(TS_MW,$row->first), true ) . ') '; |
449 | 449 | } else { |
450 | | - $s .= ' (' . $wgLang->timeanddate( $row->first, true ) . |
451 | | - ' -- ' . $wgLang->timeanddate( $row->last, true ) . ') '; |
| 450 | + $s .= ' (' . $wgLang->timeanddate( wfTimestamp(TS_MW,$row->first), true ) . |
| 451 | + ' -- ' . $wgLang->timeanddate( wfTimestamp(TS_MW,$row->last), true ) . ') '; |
452 | 452 | } |
453 | 453 | $s .= " [<strong>" . $row->count . "</strong>]</li>\n"; |
454 | 454 | ++$counter; |
— | — | @@ -705,10 +705,10 @@ |
706 | 706 | $wgTitle->escapeLocalURL( 'user='.urlencode($ip).'&reason='.urlencode($reason).'&checktype=subipusers' ) . |
707 | 707 | '">'.$ip.'</a>'; |
708 | 708 | if( $row->first == $row->last ) { |
709 | | - $s .= ' (' . $wgLang->timeanddate( $row->first, true ) . ') '; |
| 709 | + $s .= ' (' . $wgLang->timeanddate( wfTimestamp(TS_MW,$row->first), true ) . ') '; |
710 | 710 | } else { |
711 | | - $s .= ' (' . $wgLang->timeanddate( $row->first, true ) . |
712 | | - ' -- ' . $wgLang->timeanddate( $row->last, true ) . ') '; |
| 711 | + $s .= ' (' . $wgLang->timeanddate( wfTimestamp(TS_MW,$row->first), true ) . |
| 712 | + ' -- ' . $wgLang->timeanddate( wfTimestamp(TS_MW,$row->last), true ) . ') '; |
713 | 713 | } |
714 | 714 | $s .= " [<strong>" . $row->count . "</strong>]</li>\n"; |
715 | 715 | ++$counter; |
— | — | @@ -775,10 +775,10 @@ |
776 | 776 | $s .= ' (<a href="' . $wgTitle->escapeLocalURL( 'user='.urlencode($name) . |
777 | 777 | '&reason='.urlencode($reason) ) . '">' . wfMsgHtml('checkuser-check') . '</a>)'; |
778 | 778 | if( $users_first[$name] == $users_last[$name] ) { |
779 | | - $s .= ' (' . $wgLang->timeanddate( $users_first[$name], true ) . ') '; |
| 779 | + $s .= ' (' . $wgLang->timeanddate( wfTimestamp(TS_MW,$users_first[$name]), true ) . ') '; |
780 | 780 | } else { |
781 | | - $s .= ' (' . $wgLang->timeanddate( $users_first[$name], true ) . |
782 | | - ' -- ' . $wgLang->timeanddate( $users_last[$name], true ) . ') '; |
| 781 | + $s .= ' (' . $wgLang->timeanddate( wfTimestamp(TS_MW,$users_first[$name]), true ) . |
| 782 | + ' -- ' . $wgLang->timeanddate( wfTimestamp(TS_MW,$users_last[$name]), true ) . ') '; |
783 | 783 | } |
784 | 784 | $s .= ' [<strong>' . $count . '</strong>]<br />'; |
785 | 785 | $flags = array(); |
— | — | @@ -1252,7 +1252,8 @@ |
1253 | 1253 | } |
1254 | 1254 | |
1255 | 1255 | return '<li>' . |
1256 | | - $wgLang->timeanddate( $row->cul_timestamp ) . wfMsg( 'comma-separator' ) . |
| 1256 | + $wgLang->timeanddate( wfTimestamp(TS_MW,$row->cul_timestamp), true ) . |
| 1257 | + wfMsg( 'comma-separator' ) . |
1257 | 1258 | wfMsg( |
1258 | 1259 | 'checkuser-log-' . $row->cul_type, |
1259 | 1260 | $user, |