diff --git a/src/commands/CmdGaps.cpp b/src/commands/CmdGaps.cpp index 45761be3..f306e076 100644 --- a/src/commands/CmdGaps.cpp +++ b/src/commands/CmdGaps.cpp @@ -84,20 +84,20 @@ int CmdGaps ( table.set (row, 3, today.start.toString ("h:N:S")); table.set (row, 4, (gap.is_open () ? "-" : today.end.toString ("h:N:S"))); - table.set (row, 5, Duration (today.total ()).format ()); + table.set (row, 5, Duration (today.total ()).formatHours ()); daily_total += today.total (); } if (row != -1) - table.set (row, 6, Duration (daily_total).format ()); + table.set (row, 6, Duration (daily_total).formatHours ()); grand_total += daily_total; } // Add the total. table.set (table.addRow (), 6, " ", Color ("underline")); - table.set (table.addRow (), 6, Duration (grand_total).format ()); + table.set (table.addRow (), 6, Duration (grand_total).formatHours ()); if (table.rows () > 2) std::cout << '\n'