Fixes timezone offset bug