Update libshared to 072e0e0cb91c1e05e02db59ed83924b43e992938

With 179a6153, all 'end of' named dates point to the last second of the respective interval.
(see GothenburgBitFactory/taskwarrior#2519)
Redefine hint intervals in Timewarrior by 'start of' named dates, such that their ranges comprise the full interval as expected.

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
Thomas Lauf 2022-01-04 21:44:46 +01:00
parent f616b77bba
commit 6cf52faeb6
2 changed files with 8 additions and 8 deletions

View file

@ -138,13 +138,13 @@ bool expandIntervalHint (
{ {
static std::map <std::string, std::vector <std::string>> hints static std::map <std::string, std::vector <std::string>> hints
{ {
{":yesterday", {"yesterday", "today"}}, {":yesterday", {"sopd", "sod" }},
{":day", {"today", "eod"}}, {":day", {"sod", "sond"}},
{":week", {"sow", "eow"}}, {":week", {"sow", "sonw"}},
{":fortnight", {"sopw", "eow"}}, {":fortnight", {"sopw", "sonw"}},
{":month", {"som", "eom"}}, {":month", {"som", "sonm"}},
{":quarter", {"soq", "eoq"}}, {":quarter", {"soq", "sonq"}},
{":year", {"soy", "eoy"}}, {":year", {"soy", "sony"}},
}; };
static std::vector <std::string> dayNames static std::vector <std::string> dayNames

@ -1 +1 @@
Subproject commit c1760be8686ce0b2f778832aaa1e2f98eed2ffc1 Subproject commit 072e0e0cb91c1e05e02db59ed83924b43e992938