Fixes timezone handling.