Tomas Babej
2df80aac01
CmdCalendar: Default to current month if no due date is present
...
Previously, if no due date was set on any pending/waiting task, the
calendar output would start at the end of the currently supported date
period.
Default to current month instead.
2021-01-24 10:51:14 -05:00
Tomas Babej
0234cd8122
CmdCalendar: Support due dates up to year 9999
2021-01-24 10:51:14 -05:00
Tomas Babej
22228547ca
CmdCalendar: Consider waiting status equivalent to pending for purposes of display
...
The purpose of displaying due dates on the calendar is to convey the
relative business of any given day. Waiting status signifies a task
should not be displayed in reports yet, but for the purposes of
planning, it should be displayed in the calendar overview.
Closes #2393 .
2021-01-24 10:51:14 -05:00
Tomas Babej
9017cd6e53
doc: Update copyright to 2021
2021-01-02 02:48:22 -05:00
Tomas Babej
fbf8fe688e
CmdCalendar: Properly colorize overdue task from today
...
Even if task is due today, but the due time is in the past, it is
considered overdue according to the implementation of Task::is_overdue
method.
Make coloring in the calendar output consistent.
2020-12-14 22:35:36 -05:00
Tomas Babej
bfae79eac7
CmdCalendar: Remove accidental repeated blending
2020-12-14 22:35:35 -05:00
Tomas Babej
a09f9d48ab
Update copyright to 2020
2020-11-21 12:27:05 -05:00
timbuntu
938e9130d6
Fixed report colors in calendar
2020-03-12 10:38:03 -04:00
Tomas Babej
8066e4e6e2
meta: Update copyright year
2019-01-01 08:46:21 -05:00
Kirill Bobyrev
5cdbe6d019
Use nullptr instead lf C-styled NULL
2018-03-07 22:21:28 +03:00
Simon Ruderich
e817dfc800
Always use https:// link for opensource.org
...
It was already used in a few places, make this consistent.
2018-03-04 14:53:07 +01:00
Mark Scannell
7af6db4c17
Portability: Updated to make main re-entrant()
...
- New INSTALL instructions to emscripten, and AUTHORS for contribution.
2018-01-31 19:45:07 -05:00
Paul Beckingham
4f46332fa7
l10n: Eliminated STRING_CMD_CAL_*
2018-01-21 12:27:29 -05:00
Paul Beckingham
e686d198e6
l10n: Eliminated STRING_ERROR_DETAILS
2018-01-20 14:32:00 -05:00
Paul Beckingham
0de169bb10
Copyright 2018
2017-12-31 19:22:07 -05:00
Paul Beckingham
97b038ce29
Recurrence: Broke out handleUntil as a separate function
...
- This means until porocesing is no longer controlled by rc.recurrence, which
was never intended.
2017-04-06 00:29:20 -04:00
Paul Beckingham
2a7d6eb26a
CmdCalendar: Table headers consistent
2017-03-20 09:08:45 -04:00
Paul Beckingham
cf57346134
CmdCalendar: Code cleanup
2017-01-28 20:31:52 -05:00
Paul Beckingham
a50e65a134
Copyright update
2017-01-01 12:30:04 -05:00
Paul Beckingham
d3b25f7325
CmdCalendar: Migrated from ISO8601d to Datetime
2016-12-17 22:08:38 -05:00
Paul Beckingham
0a8fb12dc5
CmdCalendar: Migrated from ViewText to Table
2016-12-17 17:37:47 -05:00
Paul Beckingham
87757fb36f
util: Migrated optionalBlankLine from text
2016-12-11 17:46:06 -05:00
Paul Beckingham
355620c640
libhsared: migrating from local to libshared
2016-12-06 07:20:45 -05:00
Paul Beckingham
95f4989f77
Cleanup: Don't use string literals when character literals are needed
2016-10-14 22:27:34 -04:00
Paul Beckingham
1625dd6f10
TW-1795: Calendar underline on Day padding
...
- Thanks to Renato Alves.
2016-04-15 07:55:21 -04:00
Paul Beckingham
d564aac978
TW-1734: calendar gives an error when context is set
...
- Thanks to Simon Michael.
2016-01-11 22:44:47 -05:00
Paul Beckingham
641d232dea
Copyright: Updated to 2016
2015-12-31 15:06:43 -05:00
Paul Beckingham
639e04d853
Revert "CmdCalendar: Converted from strtol to std::stoul/stoi"
...
This reverts commit 3745f83a7b .
2015-11-02 18:39:29 -05:00
Paul Beckingham
3745f83a7b
CmdCalendar: Converted from strtol to std::stoul/stoi
2015-11-01 22:05:11 -05:00
Paul Beckingham
5d9ca9864e
Cmd*: Moved include to top of list, per flint++ recommendation
2015-11-01 19:53:19 -05:00
Paul Beckingham
51def4b12b
Lexer: Migrated commify, ucFirst and lowerCase from text to Lexer
2015-10-30 10:57:14 -04:00
Paul Beckingham
26fbca7896
CmdCalendar: Migrated from Date to ISO8601d
2015-10-03 19:31:58 -04:00
Paul Beckingham
68c6afbdd4
ISO8601d: Conversion from Date to ISO8601d
2015-09-26 23:08:29 -04:00
Paul Beckingham
18804a743c
CmdCalendar: Converted from Date::daysInMonth to ISO8601d::daysInMonth
2015-09-26 14:09:51 -04:00
Paul Beckingham
c59afe34c4
TW-1656: Implicitly parenthesize argv filter
...
- Thanks to Daniel Shahaf.
2015-09-12 08:57:38 -04:00
Paul Beckingham
bf80c7d514
Cmd*: Added command DNA, which will ѕoon drive functionality
2015-08-01 15:56:04 -04:00
Daniel Shahaf
53a702d79a
zcmdcat: Categorize commands.
2015-07-26 13:55:23 -04:00
Paul Beckingham
af9e7fa7fa
CmdCalendar: Converted from CLI to CLI2
2015-06-16 21:52:48 -04:00
Paul Beckingham
e4ab3574e4
CmdCalendar: Converted from CLI::_args[0] to CLI2::_original_args[0]
2015-06-14 22:33:09 -04:00
Paul Beckingham
2f1ca72334
Code: Improved comments regarding filters/args.
2015-06-07 15:34:33 -04:00
Paul Beckingham
e8d04bdce6
C++11: N1984 auto
2015-05-24 13:36:26 -04:00
Paul Beckingham
5a57dfd70d
C++11: Cleaned up commands code with range-based for
2015-05-11 17:45:15 -04:00
Paul Beckingham
935b2993f3
C++11: Took advantage of N1757.
2015-04-06 15:30:39 -04:00
Paul Beckingham
26aff348d2
Lexer
...
- Replaced old digitsOnly() function with Lexer::isAllDigits.
2015-02-22 20:23:00 -05:00
Paul Beckingham
528e72062b
Hooks
...
- Fixed the ::execute function used by Hooks and CmdCalendar to run commands,
by following the convention:
"The first argument, by convention, should point to the file name associated
with the file being executed."
(man execvp)
2015-02-07 14:08:58 -05:00
Paul Beckingham
547d9edb55
TW-1484
...
- TW-1484 The 'history' and 'ghistory' reports do not obey rc.color.label.
2015-01-10 15:49:42 -05:00
Paul Beckingham
b7ad091d00
Updated copyright to 2015
2015-01-01 00:00:41 -05:00
Paul Beckingham
f28ccdc8b1
CLI/CmdCalendar
...
- When the binary is named (or symlinked to) 'cal', then CLI::_args[0]
must be clobbered, and restored for subsequent commands.
2014-11-17 19:13:19 -05:00
Paul Beckingham
273ede6d0f
CmdCalendar
...
- Added argv[0].
2014-11-09 12:04:06 -05:00
Paul Beckingham
0fa0829670
CmdCalendar
...
- Converted from Parser to CLI.
2014-10-25 23:19:47 -04:00