fix bug JOYL-77,get the wrong time of the first push interval.

Conversion the time.
Merge pull request #225 from whuthm/ios-style

fix bug JOYL-77,get the wrong time of the first push interval.