mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +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
|
@ -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