Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
bug fixes finalizes fixes for Issue #95
Browse files Browse the repository at this point in the history
  • Loading branch information
scottleedavis committed May 23, 2019
1 parent 9dc491b commit f5f026a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,7 @@ func (p *Plugin) categorizeOccurrences(reminders []Reminder) (
} else if !strings.HasPrefix(reminder.Target, "~") &&
occurrence.Repeat != "" && t.After(time.Now().UTC()) {
recurringOccurrences = append(recurringOccurrences, occurrence)
} else if !strings.HasPrefix(reminder.Target, "~") &&
reminder.Completed == p.emptyTime &&
} else if reminder.Completed == p.emptyTime &&
t.Before(time.Now().UTC()) &&
(s == p.emptyTime || s.Before(time.Now().UTC())) {
pastOccurrences = append(pastOccurrences, occurrence)
Expand Down

0 comments on commit f5f026a

Please sign in to comment.