Skip to content

Inconsistent date time formats across the API and webhooks

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

I notice that the Gitlab API is very inconsistent when it comes to handling times/timestamps.

Take for example the difference between the Issues Events and the Comment Events. Their both documented on the same page and both have created_at fields.

But for Issues the format is 2013-12-03T17:15:43Z while for Notes the format is 2015-05-17 18:08:09 UTC. It would be great if all the time fields would use the same format so when using the API you can parse or marshal the date in an predictable and generic way.

Edited by 🤖 GitLab Bot 🤖