~mapperr/trk

6709d18ecb1c45807d5079ef8d47c4f44435d2b1 — mapperr 7 months ago ba08216
Fixup
1 files changed, 1 insertions(+), 0 deletions(-)

M trk
M trk => trk +1 -0
@@ 356,6 356,7 @@ show_report() {
        local last_monday_timestamp=`date -d 'last monday' +'%s'`
        local start_timestamp=$last_monday_timestamp
        # monday is 1 as documented in man date
        today_weekday_number=`date +'%u'`
        if test ! $today_weekday_number -eq 1; then
            local secs_in_a_day=`expr 3600 \* 24`
            local secs_in_a_week=`expr $secs_in_a_day \* 7`