Skip to content

Commit

Permalink
Update pkg/cmd/spks.go
Browse files Browse the repository at this point in the history
Co-authored-by: Tobias Brunner <tobias@tobru.ch>
  • Loading branch information
wejdross and tobru committed Apr 4, 2024
1 parent d05964f commit bf633e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/spks.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func SpksCMD() *cli.Command {
odooClient := odoo.NewOdooAPIClient(c.Context, odooURL, odooOauthTokenURL, odooClientId, odooClientSecret, logger)
location, err := time.LoadLocation("Europe/Zurich")
if err != nil {
return fmt.Errorf("load loaction: %w", err)
return fmt.Errorf("load location: %w", err)
}

from := time.Now().In(location).Add(-(time.Hour * 24)).UTC()
Expand Down

0 comments on commit bf633e8

Please sign in to comment.