From: Roan Kattouw Date: Thu, 28 Aug 2008 16:26:27 +0000 (+0000) Subject: (bug 15348) prop=categories returns timestamps that aren't in ISO 8601 format X-Git-Tag: 1.31.0-rc.0~45591 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=af6543ff563e76c38e3f8a25aba081b1034d7b0a;p=lhc%2Fweb%2Fwiklou.git (bug 15348) prop=categories returns timestamps that aren't in ISO 8601 format --- 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; }