mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Make Chart::render return a string instead of writing to std::cout (fixup)
This commit is contained in:
parent
8e649a9456
commit
22902fe9a1
1 changed files with 4 additions and 4 deletions
|
@ -363,7 +363,7 @@ std::string Chart::renderTotal (time_t work)
|
|||
{
|
||||
int hours = work / 3600;
|
||||
int minutes = (work % 3600) / 60;
|
||||
std::cout << " "
|
||||
out << " "
|
||||
<< std::setw (3) << std::setfill (' ') << hours
|
||||
<< ':'
|
||||
<< std::setw (2) << std::setfill ('0') << minutes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue