mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
CmdStart: Identified need for splitInterval
This commit is contained in:
parent
fe60f5ccfe
commit
a84ee1ba3c
1 changed files with 9 additions and 0 deletions
|
@ -49,7 +49,16 @@ int CmdStart (
|
|||
|
||||
// Update database.
|
||||
database.modifyInterval (latest, modified);
|
||||
/*
|
||||
// TODO There is no 1:N modifyInterval.
|
||||
datebase.deleteInterval (latest);
|
||||
|
||||
// TODO Create and populate a Timeline.
|
||||
for (auto& fragment : splitInterval (modified, ?))
|
||||
database.addInterval (fragment);
|
||||
*/
|
||||
|
||||
// TODO intervalSummarїze needs to operate on a vector of similar intervals.
|
||||
// User feedback.
|
||||
if (rules.getBoolean ("verbose"))
|
||||
std::cout << intervalSummarize (rules, modified);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue