Index: trunk/extensions/Drafts/Drafts.sql |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | draft_minoredit BOOL |
34 | 34 | ) /*$wgDBTableOptions*/; |
35 | 35 | |
36 | | -CREATE INDEX /*i*/draft_user_savetime ( draft_user, draft_savetime ); |
| 36 | +CREATE INDEX /*i*/draft_user_savetime ON /*_*/drafts ( draft_user, draft_savetime ); |
37 | 37 | CREATE INDEX /*i*/draft_user_page_savetime ON /*_*/drafts ( draft_user, draft_page, draft_namespace, draft_title, draft_savetime ); |
38 | 38 | CREATE INDEX /*i*/draft_savetime ON /*_*/drafts (draft_savetime); |
39 | 39 | CREATE INDEX /*i*/draft_page ON /*_*/drafts (draft_page); |
Index: trunk/extensions/Drafts/Drafts.classes.php |
— | — | @@ -276,7 +276,8 @@ |
277 | 277 | $wgOut->addHTML( |
278 | 278 | Xml::element( 'td', |
279 | 279 | null, |
280 | | - $wgLang->timeanddate( $draft->getSaveTime() ) |
| 280 | + $wgLang->timeanddate( $draft->getSaveTime(), |
| 281 | + true /* Adjust to user time zone*/ ) |
281 | 282 | ) |
282 | 283 | ); |
283 | 284 | $wgOut->addHTML( |