make a lot of things depend on TIMEZONE

What the title says. This fixes #1110