Closed vntw closed 4 months ago
Hmm... Yeah the inconsistencies around how time is used in the API is quite frustrating. In this case I guess it would make sense to first open an issue with GitLab to see if it's a bug there which they need to fix instead?
Good idea, I'll create an issue (if there hasn't been one already) and report back
e/ issue created
In this case I guess it would make sense to first open an issue with GitLab to see if it's a bug there which they need to fix instead?
Thanks again for the hint, turns out there was more to it 😃 I updated the PR with the necessary links and info.
I think this is ready now!
Update: After raising this issue, this merge request updated the webhook payloads that we can expect.
This PR updates the payloads and structs to reflect that ✌️
I searched for other places in the code where a format like
2024-01-24 16:27:40 UTC
occurs and found (among others) this which I used as a reference:https://github.com/xanzy/go-gitlab/blob/2c4b565c47917bc633bc2b0521802a0630b76f83/event_webhook_types.go#L832-L833
Hope that this is the correct way! Let me know if it's not