mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
helper: Added the :day hint
This commit is contained in:
parent
4179dc6f32
commit
b0a49480ba
2 changed files with 7 additions and 6 deletions
|
@ -16,8 +16,8 @@
|
|||
- Integrated libshared.git.
|
||||
- Colored tags supported.
|
||||
- Added Taskwarrior hook script to integrate Timewarrior.
|
||||
- Added support for the ':debug' hint.
|
||||
- Added support for the ':quiet' hint.
|
||||
- Added support for the ':debug' and :quiet hints.
|
||||
- Added support for the :day, :week, :month, :quarter and :year hints.
|
||||
|
||||
Design completed 2016-03-13
|
||||
Project started 2015-11-29
|
||||
|
|
|
@ -92,10 +92,11 @@ void expandIntervalHint (
|
|||
{
|
||||
static std::map <std::string, std::vector <std::string>> hints
|
||||
{
|
||||
{":week", {"socw", "eocw"}},
|
||||
{":month", {"socw", "eocw"}},
|
||||
{":quarter", {"socw", "eocw"}},
|
||||
{":year", {"socw", "eocw"}},
|
||||
{":day", {"today", "tomorrow"}},
|
||||
{":week", {"socw", "eocw"}},
|
||||
{":month", {"socw", "eocw"}},
|
||||
{":quarter", {"socw", "eocw"}},
|
||||
{":year", {"socw", "eocw"}},
|
||||
};
|
||||
|
||||
if (hints.find (hint) != hints.end ())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue