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

feat: add RFC 3999 fields that replace timestamps #84

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

figueredo
Copy link
Contributor

Three fields were added to the API to replace existing timestamp fields, two of them are present in this library:

  • POST /feedbacks timestamp is being replaced by occurred_at;
  • POST /transactions location.timestamp is being replaced by location.collected_at.

In these new fields, the date is formatted as a RFC 3339 string, e.g. '2024-07-17T01:02:03Z'. This PR adds the new fields and marks the existing ones as deprecated.

@figueredo figueredo changed the title Add RFC 3999 fields that replace timestamps feat: add RFC 3999 fields that replace timestamps Jul 18, 2024
@figueredo figueredo force-pushed the fix-feedback-remove-timestamp-restriction branch from ee797ee to 49a8828 Compare July 19, 2024 19:45
@figueredo figueredo force-pushed the feat-rfc3339-fields branch from d74eabf to b65739e Compare July 19, 2024 19:53
Base automatically changed from fix-feedback-remove-timestamp-restriction to master July 24, 2024 13:26
@figueredo figueredo force-pushed the feat-rfc3339-fields branch from b65739e to 6b17227 Compare July 24, 2024 13:30
@figueredo figueredo merged commit 788eb42 into master Jul 24, 2024
4 checks passed
@figueredo figueredo deleted the feat-rfc3339-fields branch July 24, 2024 13:35
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.

3 participants