Fix timezone handling. Closes #33.