gitea/services/migrations
Aravinth Manivannan e19b9653ea
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>
2022-01-29 18:33:20 +01:00
..
codebase.go
codebase_test.go
dump.go
error.go
git.go
gitbucket.go
gitea_downloader.go
gitea_downloader_test.go
gitea_uploader.go
gitea_uploader_test.go
github.go
github_test.go
gitlab.go
gitlab_test.go
gogs.go
gogs_test.go
http_client.go
main_test.go
migrate.go
migrate_test.go
onedev.go
onedev_test.go
restore.go
update.go