From 2ba3527d107d8d0396f0b725346cc1fe37292a7e Mon Sep 17 00:00:00 2001 From: OverlordQ Date: Tue, 8 Dec 2009 02:01:26 +0000 Subject: [PATCH] Fix Parser transcache to correctly format timestamps --- includes/parser/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1