add recurring & fix until
This commit is contained in:
@@ -163,6 +163,7 @@ class TaskManager
|
||||
*/
|
||||
private function export($filter = null)
|
||||
{
|
||||
$this->update();
|
||||
$json = $this->taskwarrior->export($filter);
|
||||
|
||||
return $this->getSerializer()->deserialize($json, 'array<DavidBadura\Taskwarrior\Task>', 'json');
|
||||
@@ -211,6 +212,18 @@ class TaskManager
|
||||
$this->setValue($old, 'end', $new->getEnd());
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private function update()
|
||||
{
|
||||
try {
|
||||
$this->taskwarrior->command('list');
|
||||
} catch (TaskwarriorException $e) {
|
||||
// to nothing
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Task[] $tasks
|
||||
* @return Task[]
|
||||
|
Reference in New Issue
Block a user