use correct timezone to calculate dates

issue #49