Fixed timezone handling issue

A fix for https://github.com/magicalpanda/MagicalRecord/issues/484