aboutsummaryrefslogtreecommitdiffstats
path: root/todolist/parser_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Adds support to projects with hyphenRodrigo Dumont2017-03-251-2/+5
|
* This commit removes all usages of github.com/jinzhu/now.DmitriyMV2017-03-041-5/+4
| | | | | | | | | github.com/jinzhu/now has numerous errors handling date and time. The example's of them are: 1. Incorrect handling of DST (https://github.com/jinzhu/now/issues/13). 2. 24 Hour long days (https://stackoverflow.com/questions/25254443/return-local-beginning-of-day-time-object-in-go) Chicago has 23, 24, or 25 hours in a day. 3. Incorrect usage of time.Truncate which can return time with a non-zero minute, depending on the time's Location. (https://github.com/golang/go/issues/16647). There are other issues as well, including getting incorrect beginning and end of the month.
* Support UTF-8 strings as contexts and projectsQuey-Liang Kao2017-01-261-3/+8
|
* Fix a bug and add some testsQuey-Liang Kao2017-01-211-0/+13
|
* Fix tests by removing hard-coded yearGrant Ammons2017-01-161-4/+8
|
* bugfix - use 'tod' as shorthand for todayGrant Ammons2016-09-081-0/+8
|
* Make agenda its own commandGrant Ammons2016-05-121-1/+0
|
* Fix issue with parsing specific datesGrant Ammons2016-05-121-0/+9
|
* Parse out arbitrary datesGrant Ammons2016-05-061-7/+25
| | | | | | | | | | | | | | 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.
* Handle parsing dates, and printing themGrant Ammons2016-04-301-14/+44
|
* Organize things a bit betterGrant Ammons2016-04-241-0/+83