Quick fixes #17 with Global timezone

Changing the timezone also changes the epoch, so date() calls must be
corrected with the timezone offset. It should be considered to change
from date() to use DateTimes.