Breaking changes to projects API preview and webhook date format
As previously announced on September 1st,
the format of the created_at
and updated_at
fields in the
projects API preview and project webhook payloads
have been changed to be consistent with the standard YYYY-MM-DDTHH:MM:SSZ
ISO
8601 format used by all other APIs and webhooks.
Previously, project webhook payloads would include these fields as an integer number of seconds:
{
"action": "created",
"project_card": {
"created_at": 1503590773,
"updated_at": 1503590773
}
}
And project APIs would include these fields with milliseconds that were always zero:
{
"url": "https://api.github.com/projects/1002604",
"id": 1002604,
"created_at": "2017-08-24T15:56:15.000Z",
"updated_at": "2017-08-24T15:56:15.000Z"
}
Starting today, these fields are returned as YYYY-MM-DDTHH:MM:SSZ
formatted
strings in all projects APIs and project, card, and column webhook payloads.
If you have any questions or feedback, please let us know.