Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Timestamp parsing issue #11

Merged
merged 1 commit into from
Mar 16, 2016
Merged

Fix Timestamp parsing issue #11

merged 1 commit into from
Mar 16, 2016

Conversation

sideshow
Copy link
Owner

  • Fixes an issue where APNs timestamps were being parsed incorrectly.
  • Removes some redundant code and tests.

APNs returns a Unix time with millisecond precision. We were parsing and not
accounting for the milliseconds, which was giving an invalid Time. This has been
tested on APNs production gateway and now parses and returns the correct Time.

- Fixes an issue where APNs timestamps were being parsed incorrectly.
- Removes some redundant code and tests.

APNs returns a Unix time with millisecond precision. We were parsing and not
accounting for the milliseconds, which was giving an invalid Time. This has been
tested on APNs production gateway and now parses and returns the correct Time.
alissonsales added a commit that referenced this pull request Mar 16, 2016
@alissonsales alissonsales merged commit a6f9928 into master Mar 16, 2016
@alissonsales alissonsales deleted the fix-timestamp branch March 16, 2016 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants