Update time_log.py

Updating the conflicting files with the submission.
Just changed the validation on the sql statement. Before it was checking time from and to between the actual timelog from and to. Between could be 10 and 11 if the checking 10, so it was throwing the error.
Merge pull request #6 from alexandre-00/patch-4

Update time_log.py