Fix bug with daylight savings time offsets