Fixed calculation error of time during the evening.