Skip to content

Commit

Permalink
fix(fetch/ubuntu): fix timezone warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MaineK00n committed Sep 6, 2023
1 parent 0466cd0 commit 4e44c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/ubuntu/ubuntu.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func parseDefinitions(ovalDefs []Definition, tests map[string]dpkgInfoTest) []mo
})
}

date := util.ParsedOrDefaultTime([]string{"2006-01-02", "2006-01-02 15:04:05", "2006-01-02 15:04:05 +0000", "2006-01-02 15:04:05 UTC"}, d.Advisory.PublicDate)
date := util.ParsedOrDefaultTime([]string{"2006-01-02", "2006-01-02 15:04:05", "2006-01-02 15:04:05 +0000", "2006-01-02 15:04:05 MST"}, d.Advisory.PublicDate)

def := models.Definition{
DefinitionID: d.ID,
Expand Down

0 comments on commit 4e44c2e

Please sign in to comment.