diff options
author | Aravinth Manivannan <realaravinth@batsense.net> | 2022-01-29 17:33:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-29 18:33:20 +0100 |
commit | e19b9653ea138c2ba9a5325e6fcbc696a0e758a3 (patch) | |
tree | 289489e1e972f9418229220b70112ce6eb5bd4bb /modules/queue | |
parent | 2ad74a503d2e31be2caa233bc7178fb8543788d2 (diff) | |
download | gitea-e19b9653ea138c2ba9a5325e6fcbc696a0e758a3.tar.gz gitea-e19b9653ea138c2ba9a5325e6fcbc696a0e758a3.zip |
GitLab reviews may not have the updated_at field set (#18450)
* GitLab reviews may not have the updated_at field set
Fallback to created_at if that the case and to time.Now() if it is
also missing.
Fixes: 18434
* use assert.WithinDuration
Co-authored-by: Loïc Dachary <loic@dachary.org>
Diffstat (limited to 'modules/queue')
0 files changed, 0 insertions, 0 deletions