From af6543ff563e76c38e3f8a25aba081b1034d7b0a Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 28 Aug 2008 16:26:27 +0000 Subject: [PATCH] (bug 15348) prop=categories returns timestamps that aren't in ISO 8601 format --- includes/api/ApiQueryCategories.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiQueryCategories.php b/includes/api/ApiQueryCategories.php index 9ec0d7a588..a1583a4efa 100644 --- a/includes/api/ApiQueryCategories.php +++ b/includes/api/ApiQueryCategories.php @@ -138,7 +138,7 @@ class ApiQueryCategories extends ApiQueryGeneratorBase { if ($fld_sortkey) $vals['sortkey'] = $row->cl_sortkey; if ($fld_timestamp) - $vals['timestamp'] = $row->cl_timestamp; + $vals['timestamp'] = wfTimestamp(TS_ISO_8601, $row->cl_timestamp); $data[] = $vals; } -- 2.20.1