Index: trunk/phase3/includes/specials/SpecialRevisiondelete.php |
— | — | @@ -227,6 +227,7 @@ |
228 | 228 | 'ar_timestamp' => $where ), |
229 | 229 | __METHOD__ ); |
230 | 230 | while( $row = $dbr->fetchObject( $result ) ) { |
| 231 | + $timestamp = wfTimestamp( TS_MW, $row->ar_timestamp ); |
231 | 232 | $revObjs[$timestamp] = new Revision( array( |
232 | 233 | 'page' => $this->page->getArticleId(), |
233 | 234 | 'id' => $row->ar_rev_id, |
— | — | @@ -234,7 +235,7 @@ |
235 | 236 | 'comment' => $row->ar_comment, |
236 | 237 | 'user' => $row->ar_user, |
237 | 238 | 'user_text' => $row->ar_user_text, |
238 | | - 'timestamp' => wfTimestamp( TS_MW, $timestamp ), |
| 239 | + 'timestamp' => $timestamp, |
239 | 240 | 'minor_edit' => $row->ar_minor_edit, |
240 | 241 | 'text_id' => $row->ar_text_id, |
241 | 242 | 'deleted' => $row->ar_deleted, |
— | — | @@ -889,6 +890,7 @@ |
890 | 891 | 'ar_timestamp' => $where ), |
891 | 892 | __METHOD__ ); |
892 | 893 | while( $row = $this->dbw->fetchObject( $result ) ) { |
| 894 | + $timestamp = wfTimestamp( TS_MW, $row->ar_timestamp ); |
893 | 895 | $revObjs[$timestamp] = new Revision( array( |
894 | 896 | 'page' => $title->getArticleId(), |
895 | 897 | 'id' => $row->ar_rev_id, |
— | — | @@ -896,7 +898,7 @@ |
897 | 899 | 'comment' => $row->ar_comment, |
898 | 900 | 'user' => $row->ar_user, |
899 | 901 | 'user_text' => $row->ar_user_text, |
900 | | - 'timestamp' => wfTimestamp( TS_MW, $row->ar_timestamp ), |
| 902 | + 'timestamp' => $timestamp, |
901 | 903 | 'minor_edit' => $row->ar_minor_edit, |
902 | 904 | 'text_id' => $row->ar_text_id, |
903 | 905 | 'deleted' => $row->ar_deleted, |