(bug 15348) prop=categories returns timestamps that aren't in ISO 8601 format

This commit is contained in:
Roan Kattouw 2008-08-28 16:26:27 +00:00
parent 8ec6021ab7
commit af6543ff56

View file

@ -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;
}