mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
TI-90: Make 'continue' accept a date
This commit is contained in:
parent
74fa268164
commit
a01b9ade9a
1 changed files with 7 additions and 2 deletions
|
@ -68,11 +68,16 @@ int CmdContinue (
|
|||
to_copy = latest;
|
||||
}
|
||||
|
||||
Datetime current_time = Datetime ();
|
||||
auto filter = getFilter (cli);
|
||||
Datetime current_time;
|
||||
|
||||
if (filter.range.start.toEpoch () != 0)
|
||||
current_time = filter.range.start;
|
||||
else
|
||||
current_time = Datetime ();
|
||||
|
||||
if (latest.range.is_open ())
|
||||
{
|
||||
auto filter = getFilter (cli);
|
||||
auto exclusions = getAllExclusions (rules, filter.range);
|
||||
|
||||
// Stop it, at the given start time, if applicable.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue