From: OverlordQ Date: Tue, 8 Dec 2009 02:01:26 +0000 (+0000) Subject: Fix Parser transcache to correctly format timestamps X-Git-Tag: 1.31.0-rc.0~38598 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=2ba3527d107d8d0396f0b725346cc1fe37292a7e;p=lhc%2Fweb%2Fwiklou.git Fix Parser transcache to correctly format timestamps --- diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 725c284e58..de688e9a3b 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -3189,7 +3189,7 @@ class Parser $dbw = wfGetDB(DB_MASTER); $dbw->replace('transcache', array('tc_url'), array( 'tc_url' => $url, - 'tc_time' => time(), + 'tc_time' => $dbw->timestamp( time() ), 'tc_contents' => $text)); return $text; }