Fix a potential timezone bug.