Update time_log.py

I'd like to propose validation for the time log. So the user cannot save negative hours.