Get timezone directly. Fixes #2287.