Page MenuHomePhabricator

API prop=flagged uses idiosyncratic/internal format for protection_expiry timestamp
Closed, ResolvedPublic

Description

https://en.wikipedia.org/w/api.php?action=query&prop=info|flagged&titles=Chatrak

<flagged stable_revid="561918865" level="0" level_text="stable" protection_level="autoconfirmed" protection_expiry="20140101202942" />

The timestamp for protection_expiry should be in ISO format (e.g. 2013-07-26T08:26:30Z) just like all the other API timestamps.


Version: unspecified
Severity: normal

Details

Reference
bz52168

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:56 AM
bzimport set Reference to bz52168.
bzimport added a subscriber: Unknown Object (MLST).

Change 76460 had a related patch set uploaded by Alex Monk:
Format protection_expiry timestamp in ISO format for API prop=flagged

https://gerrit.wikimedia.org/r/76460

Gerrit notification bot will send that message for you (and set PATCH_TO_REVIEW) if you put the 'Bug: x' bit right above the Change-Id instead of putting a line between 'Bug: x' and 'Change-Id: y'.

noticed this one as well now :/ please fix

Change 76460 merged by Aaron Schulz:
Format protection_expiry timestamp in ISO format for API results

https://gerrit.wikimedia.org/r/76460

Seems to have been fixed back in February.