fix bugs of time offset more than 60 sec

In the last version, if offset > 60 secs, the seconds will work only
once to +- 60