(bug 15348) prop=categories returns timestamps that aren't in ISO 8601 format
This commit is contained in:
parent
8ec6021ab7
commit
af6543ff56
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue