Gitlab webhooks cannot decode timezone offset
Created by: NiklasRosenstein
- Sourcegraph version: 3.41.0
- Platform information: Ubuntu 20.04, deployed with Docker
Steps to reproduce:
- Set up Batch changes
- Set up a System hook for Merge events in Gitlab (Admin > System Hooks)
- Send a merge request event
Expected behavior:
The webhook should succeed and source graph should update the status of merge requests associated with the repository in open Batch changes.
Actual behavior:
unmarshalling payload: unmarshalling typed event: parsing time "2022-06-28 16:08:11 +0200" as "2006-01-02 15:04:05 MST": cannot parse "+0200" as "MST"
It appears to me that Sourcegraph cannot decode the +0200
timezone offset.