mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Range: Renamed meethods by prepending 'is_'
This commit is contained in:
parent
b626f0bec4
commit
e1e1a30a98
18 changed files with 71 additions and 71 deletions
|
@ -51,7 +51,7 @@ Color tagColor (const Rules& rules, const std::string& tag)
|
|||
std::string intervalSummarize (const Rules& rules, const Interval& interval)
|
||||
{
|
||||
std::stringstream out;
|
||||
if (interval.range.started ())
|
||||
if (interval.range.is_started ())
|
||||
{
|
||||
// Combine and colorize tags.
|
||||
std::string tags;
|
||||
|
@ -64,7 +64,7 @@ std::string intervalSummarize (const Rules& rules, const Interval& interval)
|
|||
}
|
||||
|
||||
// Interval closed.
|
||||
if (interval.range.ended ())
|
||||
if (interval.range.is_ended ())
|
||||
{
|
||||
Duration dur (Datetime (interval.range.end) - Datetime (interval.range.start));
|
||||
out << "Recorded " << tags << '\n'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue