Synchronize date time format across api
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
Date-Time formats are different in response of different api requests.
Steps to reproduce
-
Make a
HTTP.GETcall onlist-pipelinesorget-pipelin-by-id(similarly for job and others as well) api notice the formats of various fields suchcreated_at,updated_at -
Create a programatic
webhook receiverin any programming language. Receive and parse events for pipeline, jobs, etc. notice the formats of various fields suchcreated_at,updated_at
What is the current bug behavior?
-
When an
HTTP.GETcal is made, above fields are inISO8601format,"2016-08-11T11:28:34.085Z"as indicated in api docs -
On the other hand, in
webhooks, above fields are in,2016-08-12 15:23:28 UTCas indicated in hook-event docs
What is the expected correct behavior?
Fields should have value in same format, preferrably RFC3339 or ISO8601 with output values in UTC. This will solve a lot issues in handling and reduce code lines at consumer end.