CmdReportMonth: Fixed bug where the month was used as day of week

This commit is contained in:
Paul Beckingham 2016-05-19 11:18:25 -05:00
parent 71a193a7db
commit 5e315907af

View file

@ -140,7 +140,7 @@ int renderReport (
// Today should be highlighted.
if (day.sameDay (Datetime ()))
std::cout << colorToday.colorize (day.dayNameShort (day.month ()))
std::cout << colorToday.colorize (day.dayNameShort (day.dayOfWeek ()))
<< ' '
<< colorToday.colorize (rightJustify (day.day (), 2))
<< ' ';