Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

fix: negative session sequence if the date is before java date epoch #471

Merged
merged 3 commits into from
Jun 25, 2020
Merged

fix: negative session sequence if the date is before java date epoch #471

merged 3 commits into from
Jun 25, 2020

Conversation

marandaneto
Copy link
Contributor

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

fix: negative session sequence if the date is before java date epoch

💡 Motivation and Context

often old emulators may have a date not set, which means it'll be January 1, 1970, 00:00:00 GMT
when converting timezones to UTC, it may give a wrong date, which should be offset to not be negative.

💚 How did you test it?

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • All tests passing

🔮 Next steps

Copy link
Member

@bruno-garcia bruno-garcia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marandaneto marandaneto merged commit 4e2e4b0 into getsentry:master Jun 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants