mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
helper: Identified missing split functionality
This commit is contained in:
parent
4462e091c5
commit
fe60f5ccfe
1 changed files with 6 additions and 2 deletions
|
@ -326,9 +326,13 @@ Interval getLatestInterval (Database& database)
|
|||
Interval i;
|
||||
auto lastLine = database.lastLine ();
|
||||
if (lastLine != "")
|
||||
{
|
||||
i.initialize (lastLine);
|
||||
|
||||
// TODO Mask i against timeline. It's easy to say that.
|
||||
if (! i.range.ended ())
|
||||
{
|
||||
// TODO An open interval needs to be split against all exclusions.
|
||||
}
|
||||
}
|
||||
|
||||
return i;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue