Fix local time issues.