timezone and datetime fixes