J3RN / time-tracker

A time tracking application
http://timesheet.j3rn.com
MIT License
6 stars 14 forks source link

Time remaining always positive #70

Closed J3RN closed 7 years ago

J3RN commented 7 years ago

I added an explicit return of '0' if the value of left_today is negative.

I also did a slight refactor. I split time_remaining_today into three methods, two of which are small, private methods.