1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Fix datetime format (#174)

* #173
This commit is contained in:
Fadi Abbud 2022-06-10 10:57:08 +02:00 committed by GitHub
parent 5ca768b5e2
commit 714814a44b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -239,7 +239,7 @@ func (c *controller) upload(r *http.Request) (interface{}, error) {
}
}
rolie.Feed.Updated = csaf.TimeStamp(time.Now())
rolie.Feed.Updated = csaf.TimeStamp(time.Now().UTC())
year := strconv.Itoa(ex.InitialReleaseDate.Year())