mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CmdExport: Updated to new API
This commit is contained in:
parent
39855f8006
commit
bb89772cf9
1 changed files with 1 additions and 2 deletions
|
@ -36,8 +36,7 @@ int CmdExport (
|
|||
Database& database)
|
||||
{
|
||||
auto filter = getFilter (cli);
|
||||
auto timeline = createTimelineFromData (rules, database, filter);
|
||||
std::cout << jsonFromIntervals (timeline.tracked (rules));
|
||||
std::cout << jsonFromIntervals (getTrackedIntervals (database, rules, filter));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue