Fixed a bug with time-zone offsets.