Skip to content

Conversation

niallzato
Copy link
Contributor

Follow up on this PR. https://github.com/segmentio/analytics_flutter/pull/105/files

We also need to set the timestamp to UTC as per our docs: https://segment.com/docs/connections/spec/common/#timestamps

Every API call has four timestamps, originalTimestamp, timestamp, sentAt, and receivedAt. They’re used for very different purposes.

All timestamps are ISO-8601 date strings, and are in the UTC timezone. To see the user’s timezone information, check the timezone field that’s automatically collected by client-side libraries.

@MichaelGHSeg MichaelGHSeg merged commit 2208590 into main Nov 6, 2024
5 checks passed
@MichaelGHSeg MichaelGHSeg deleted the niall/timestamp_utc branch November 6, 2024 15:36
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.

2 participants