added correctTimezoneOffset method to prototype