Fix bug of changing system time

Description: When user choose the entered_checkin and lunch checkin and
after that changes the system time, a bug can happen depending of a new
date. With this commit, we fixed the calendar day and fixed this bug.

Commit:Fix

TaskNumber:#6