Fix time offset on standard time

(cherry picked from commit 179d19d8baefa28b96fad5ee7a605152c3176c77)