Feature #43 - Relative dates: +3d, -2w

- Added feature #43, now task supports relative dates like '3wks',
  '1 month', '4d' for 'due', 'wait' and 'until' dates.  Essentially
  durations are now allowed where dates are expected, and are treated
  as relative to the current date/time.
This commit is contained in:
Paul Beckingham
2010-07-25 23:14:52 -04:00
parent 7468a2d81d
commit 3846954c42
3 changed files with 15 additions and 4 deletions

View File

@@ -2,6 +2,10 @@
------ current release --------------------------- ------ current release ---------------------------
1.9.3 () 1.9.3 ()
+ Added feature #43, now task supports relative dates like '3wks',
'1 month', '4d' for 'due', 'wait' and 'until' dates. Essentially
durations are now allowed where dates are expected, and are treated
as relative to the current date/time.
+ Added feature #189, that records the start and stop times + Added feature #189, that records the start and stop times
as an annotation for a task. as an annotation for a task.
+ Added feature #391, now the 'task color legend' command will show + Added feature #391, now the 'task color legend' command will show

5
NEWS
View File

@@ -3,6 +3,9 @@ New Features in task 1.9.3
- Start and stop times for a task can now be recorded as annotations. - Start and stop times for a task can now be recorded as annotations.
- Special tags 'nocolor', 'nocal' and 'nonag'. - Special tags 'nocolor', 'nocal' and 'nonag'.
- Now supports durations in dates, such as:
$ task ... due:4d
$ task ... due:3wks
Please refer to the ChangeLog file for full details. There are too many to Please refer to the ChangeLog file for full details. There are too many to
list here. list here.
@@ -11,12 +14,10 @@ New commands in task 1.9.3
- New 'task color legend' command will show samples of all the defined colors - New 'task color legend' command will show samples of all the defined colors
and color rules from your .taskrc and theme. and color rules from your .taskrc and theme.
-
New configuration options in task 1.9.3 New configuration options in task 1.9.3
- journal.time, journal.time.start.annotation, journal.time.stop.annotation - journal.time, journal.time.start.annotation, journal.time.stop.annotation
-
Newly deprecated features in task 1.9.3 Newly deprecated features in task 1.9.3

View File

@@ -335,7 +335,7 @@ Attribute modifiers improve filters. Supported modifiers are:
.br .br
.B isnt (synonym not) .B isnt (synonym not)
.br .br
.B has (synonym contain) .B has (synonym contains)
.br .br
.B hasnt .B hasnt
.br .br
@@ -374,11 +374,17 @@ task ... due:today
.br .br
task ... due:yesterday task ... due:yesterday
.br .br
task ... due:tomorrow task ... due:tomorrow
.TP .TP
Day number with ordinal Day number with ordinal
task ... due:23rd task ... due:23rd
.br
task ... due:3wks
.br
task ... due:1day
.br
task ... due:9hrs
.TP .TP
End of week (Friday), month and year End of week (Friday), month and year