diff options
| author | Grant Ammons <gammons@gmail.com> | 2016-05-06 17:40:04 -0400 |
|---|---|---|
| committer | Grant Ammons <gammons@gmail.com> | 2016-05-06 17:40:04 -0400 |
| commit | 8bb8317f1f29a7dd1b910931ebd12c739a5fa1cc (patch) | |
| tree | c1ed847774f1da14c068e8d7a6d2f10097383aac /todo.go | |
| parent | 8e77e4e86bbcffc1ca30b25ba26b0225a578df90 (diff) | |
Parse out arbitrary dates
This will parse out dates in the format of "mon dd", the month being a 3
letter month, and the date being just the day.
due mar 10
due sep 25
due oct 2
it will also "intelligently" guess the year, based upon which is the
shorter duration from time.Now(). for instance, if today's date is dec
25 and you schedule an event for jan 2, it will schedule it for the
following year.
Diffstat (limited to 'todo.go')
0 files changed, 0 insertions, 0 deletions
