Fixed a timezone bug in setTime

Fixed another timezone bug in setTime