edge case bug fix for the time display.