Fix applying timezone offset