Index: trunk/extensions/CheckUser/CheckUser_body.php |
— | — | @@ -893,7 +893,7 @@ |
894 | 894 | protected function CUChangesLine( $row, $reason ) { |
895 | 895 | global $wgLang; |
896 | 896 | # Add date headers |
897 | | - $date = $wgLang->date( $row->cuc_timestamp, true, true ); |
| 897 | + $date = $wgLang->date( wfTimestamp(TS_MW,$row->cuc_timestamp), true, true ); |
898 | 898 | if( !isset($this->lastdate) ) { |
899 | 899 | $this->lastdate = $date; |
900 | 900 | $line = "\n<h4>$date</h4>\n<ul class=\"special\">"; |
— | — | @@ -907,7 +907,7 @@ |
908 | 908 | # Create diff/hist/page links |
909 | 909 | $line .= $this->getLinksFromRow( $row ); |
910 | 910 | # Show date |
911 | | - $line .= ' . . ' . $wgLang->time( $row->cuc_timestamp, true, true ) . ' . . '; |
| 911 | + $line .= ' . . ' . $wgLang->time( wfTimestamp(TS_MW,$row->cuc_timestamp), true, true ) . ' . . '; |
912 | 912 | # Userlinks |
913 | 913 | $line .= $this->sk->userLink( $row->cuc_user, $row->cuc_user_text ); |
914 | 914 | $line .= $this->sk->userToolLinks( $row->cuc_user, $row->cuc_user_text ); |
— | — | @@ -1053,7 +1053,7 @@ |
1054 | 1054 | $dbr = wfGetDB( DB_SLAVE ); |
1055 | 1055 | $cutoff_unixtime = time() - ($period * 24 * 3600); |
1056 | 1056 | $cutoff_unixtime = $cutoff_unixtime - ($cutoff_unixtime % 86400); |
1057 | | - $cutoff = $dbr->addQuotes( wfTimestamp( TS_MW, $cutoff_unixtime ) ); |
| 1057 | + $cutoff = $dbr->addQuotes( $dbr->timestamp( $cutoff_unixtime ) ); |
1058 | 1058 | return "cuc_timestamp > $cutoff"; |
1059 | 1059 | } |
1060 | 1060 | |