Commit 753d212
authored
Don't add alarm for dates without times (#81)
Natural language dates like `--due-date=today` don't have relevant time
info, so we don't add the time to the reminder. In this case if we add
an alarm with the date it just sets the time at midnight. In this case
we can just not add a time, which roughly matches the Reminders.app UI
where adding a date vs time is separate. If you pass `--due-date=9am` it
still sets the alarm correctly.
Fixes #791 parent 710a498 commit 753d212
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
| 319 | + | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| |||
0 commit comments