Fix a bug that daylight saving time is ignored

refs #2385