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

Change in date format for originalTimestamp #235

Closed
shraddha1313 opened this issue Aug 17, 2022 · 1 comment
Closed

Change in date format for originalTimestamp #235

shraddha1313 opened this issue Aug 17, 2022 · 1 comment
Assignees
Labels

Comments

@shraddha1313
Copy link

shraddha1313 commented Aug 17, 2022

Hi Team,
Based on my discussion with @pooyaj, we discovered that the value for originalTimestamp generates the date time string with microseconds instead of milliseconds. This is leading to malformed payloads and Segment is not processing calls with originalTimestamp value having sub-millisecond data in them. All other timestamp keys such as sentAt, timestamp and receivedAt have milliseconds in them.

This behavior was discovered for the Python Server side library 1.4.0 through PyPi. Could you please ensure that we pass milliseconds instead of microseconds for the value of originalTimestamp moving forward?

Example:
malformed value - "originalTimestamp": "2022-07-28T21:43:35.291077+00:00"
corrected value - "originalTimestamp": "2022-08-02T00:43:35.291+00:00"

Please let me know if you have any questions. Thanks!

@nd4p90x nd4p90x self-assigned this Aug 17, 2022
@MichaelGHSeg
Copy link
Contributor

Addressed by PR #242

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants