Index: trunk/phase3/includes/Revision.php |
— | — | @@ -917,7 +917,7 @@ |
918 | 918 | $dbw = wfGetDB( DB_MASTER ); |
919 | 919 | $timestamp = $dbw->selectField( 'revision', 'rev_timestamp', $conds, __METHOD__ ); |
920 | 920 | } |
921 | | - return $timestamp; |
| 921 | + return wfTimestamp( TS_MW, $timestamp ); |
922 | 922 | } |
923 | 923 | |
924 | 924 | /** |
Index: trunk/phase3/includes/Skin.php |
— | — | @@ -1205,8 +1205,7 @@ |
1206 | 1206 | function lastModified() { |
1207 | 1207 | global $wgLang, $wgArticle; |
1208 | 1208 | if( $this->mRevisionId ) { |
1209 | | - $timestamp = wfTimestamp( TS_MW, |
1210 | | - Revision::getTimestampFromId( $this->mRevisionId, $wgArticle->getId() ) ); |
| 1209 | + $timestamp = Revision::getTimestampFromId( $this->mRevisionId, $wgArticle->getId() ); |
1211 | 1210 | } else { |
1212 | 1211 | $timestamp = $wgArticle->getTimestamp(); |
1213 | 1212 | } |