Docs: Updated docs with new history/ghistory commands.

This commit is contained in:
Paul Beckingham
2017-02-09 19:44:44 -05:00
parent d1bdac2bef
commit e6601e1a28
3 changed files with 23 additions and 18 deletions

View File

@@ -83,6 +83,9 @@
- Updated the 'timesheet' command with a more compact report that accepts a - Updated the 'timesheet' command with a more compact report that accepts a
filter, and has a default filter showing the last four weeks of completed and filter, and has a default filter showing the last four weeks of completed and
started tasks. started tasks.
- Added 'history.weekly', 'history.daily', 'ghistory.weekly', 'ghistory.daily'
report variations, with code refactoring.
(thanks to Lukas Barth).
------ current release --------------------------- ------ current release ---------------------------

2
NEWS
View File

@@ -11,6 +11,8 @@ New Features in Taskwarrior 2.6.0
New Commands in Taskwarrior 2.6.0 New Commands in Taskwarrior 2.6.0
- The 'purge' command was added, which completely removes old tasks. - The 'purge' command was added, which completely removes old tasks.
- Added new 'history.weekly', 'history.daily', 'ghistory.weekly',
'ghistory.daily' reports.
New Configuration Options in Taskwarrior 2.6.0 New Configuration Options in Taskwarrior 2.6.0

View File

@@ -301,8 +301,8 @@ public:
static void setupTableDates (Table & view) static void setupTableDates (Table & view)
{ {
view.add (STRING_CMD_HISTORY_YEAR); view.add (STRING_CMD_HISTORY_YEAR, false);
view.add (STRING_CMD_HISTORY_MONTH); view.add (STRING_CMD_HISTORY_MONTH, false);
} }
static void insertRowDate ( static void insertRowDate (
@@ -404,8 +404,8 @@ public:
static void setupTableDates (Table & view) static void setupTableDates (Table & view)
{ {
view.add (STRING_CMD_HISTORY_YEAR); view.add (STRING_CMD_HISTORY_YEAR, false);
view.add (STRING_CMD_HISTORY_MONTH); view.add (STRING_CMD_HISTORY_MONTH, false);
} }
static void insertRowDate ( static void insertRowDate (
@@ -448,7 +448,7 @@ public:
static void setupTableDates (Table & view) static void setupTableDates (Table & view)
{ {
view.add (STRING_CMD_HISTORY_YEAR); view.add (STRING_CMD_HISTORY_YEAR, false);
} }
static void insertRowDate ( static void insertRowDate (
@@ -489,7 +489,7 @@ public:
static void setupTableDates (Table & view) static void setupTableDates (Table & view)
{ {
view.add (STRING_CMD_HISTORY_YEAR); view.add (STRING_CMD_HISTORY_YEAR, false);
} }
static void insertRowDate ( static void insertRowDate (
@@ -531,9 +531,9 @@ public:
static void setupTableDates (Table & view) static void setupTableDates (Table & view)
{ {
view.add (STRING_CMD_HISTORY_YEAR); view.add (STRING_CMD_HISTORY_YEAR, false);
view.add (STRING_CMD_HISTORY_MONTH); view.add (STRING_CMD_HISTORY_MONTH, false);
view.add (STRING_CMD_HISTORY_DAY); view.add (STRING_CMD_HISTORY_DAY, false);
} }
static void insertRowDate ( static void insertRowDate (
@@ -581,9 +581,9 @@ public:
static void setupTableDates (Table & view) static void setupTableDates (Table & view)
{ {
view.add (STRING_CMD_HISTORY_YEAR); view.add (STRING_CMD_HISTORY_YEAR, false);
view.add (STRING_CMD_HISTORY_MONTH); view.add (STRING_CMD_HISTORY_MONTH, false);
view.add (STRING_CMD_HISTORY_DAY); view.add (STRING_CMD_HISTORY_DAY, false);
} }
static void insertRowDate ( static void insertRowDate (
@@ -631,9 +631,9 @@ public:
static void setupTableDates (Table & view) static void setupTableDates (Table & view)
{ {
view.add (STRING_CMD_HISTORY_YEAR); view.add (STRING_CMD_HISTORY_YEAR, false);
view.add (STRING_CMD_HISTORY_MONTH); view.add (STRING_CMD_HISTORY_MONTH, false);
view.add (STRING_CMD_HISTORY_DAY); view.add (STRING_CMD_HISTORY_DAY, false);
} }
static void insertRowDate ( static void insertRowDate (
@@ -681,9 +681,9 @@ public:
static void setupTableDates (Table & view) static void setupTableDates (Table & view)
{ {
view.add (STRING_CMD_HISTORY_YEAR); view.add (STRING_CMD_HISTORY_YEAR, false);
view.add (STRING_CMD_HISTORY_MONTH); view.add (STRING_CMD_HISTORY_MONTH, false);
view.add (STRING_CMD_HISTORY_DAY); view.add (STRING_CMD_HISTORY_DAY, false);
} }
static void insertRowDate ( static void insertRowDate (