Skip to content

Commit

Permalink
Change reminder default time to 9:00
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrin committed Dec 22, 2021
1 parent 96b7ef1 commit a5be275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/cmd_remind.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func remindTime(now time.Time, param string) (time.Time, error) {
for _, f := range dateFormats {
reminderTime, err = time.Parse(f, param)
if err == nil {
reminderTime = time.Date(reminderTime.Year(), reminderTime.Month(), reminderTime.Day(), now.Hour(), now.Minute(), now.Second(), 0, loc)
reminderTime = time.Date(reminderTime.Year(), reminderTime.Month(), reminderTime.Day(), 9, 0, 0, 0, loc)
break
}
}
Expand Down

0 comments on commit a5be275

Please sign in to comment.