Don't change the time if the date doesn't change

Fix #136