mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
helper: Propagated database to intervalSummarize
This commit is contained in:
parent
8870ba6bd0
commit
614619c11f
7 changed files with 12 additions and 9 deletions
|
@ -48,7 +48,10 @@ Color tagColor (const Rules& rules, const std::string& tag)
|
|||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Summarize either an active or closed interval, for user feedback.
|
||||
std::string intervalSummarize (const Rules& rules, const Interval& interval)
|
||||
std::string intervalSummarize (
|
||||
Database& database,
|
||||
const Rules& rules,
|
||||
const Interval& interval)
|
||||
{
|
||||
std::stringstream out;
|
||||
if (interval.range.is_started ())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue