Compare commits

...

1 Commits
0.8.2 ... main

Author SHA1 Message Date
Jan Dittberner 20d324f5cb Fix linter error
cacert-boardvoting/pipeline/head This commit looks good Details
- remove nextPotentialRun.Add that had no effect
1 year ago

@ -1,5 +1,5 @@
/*
Copyright 2017-2022 CAcert Inc.
Copyright 2017-2023 CAcert Inc.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
@ -47,7 +47,6 @@ func (r *RemindVotersJob) Schedule() {
year, month, day := now.Date()
nextPotentialRun := time.Date(year, month, day+1, 0, 0, 0, 0, time.UTC)
nextPotentialRun.Add(hoursInDay * time.Hour)
relevantDue := nextPotentialRun.Add(reminderDays * hoursInDay * time.Hour)

Loading…
Cancel
Save