Fix a few timezone-related issues.