Return TS in MW format
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 7 Nov 2008 21:19:34 +0000 (21:19 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 7 Nov 2008 21:19:34 +0000 (21:19 +0000)
includes/filerepo/ArchivedFile.php

index 646256b..f6bbda3 100644 (file)
@@ -251,7 +251,7 @@ class ArchivedFile
         */
        public function getTimestamp() {
                $this->load();
-               return $this->timestamp;
+               return wfTimestamp( TS_MW, $this->timestamp );
        }
 
        /**