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

refactor: Format all BatchExports datetimes as isoformat #17468

Merged
merged 2 commits into from
Sep 18, 2023

Conversation

tomasfarias
Copy link
Contributor

@tomasfarias tomasfarias commented Sep 15, 2023

Problem

Not sure why we were not using isoformat().

Changes

Return isoformatted timestamps when iterating through CH rows. Technically, we were already returning isoformatted rows as the separator is not required. But the standard rfc 3399 requires a separator (T).

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

How did you test this code?

Tests will likely fail and I'll fix them up.

@tomasfarias tomasfarias force-pushed the refactor/do-all-isoformatted-dates branch from 3afaae4 to 4bb6f72 Compare September 18, 2023 10:41
@tomasfarias tomasfarias force-pushed the refactor/do-all-isoformatted-dates branch from db19cfb to 04566c2 Compare September 18, 2023 11:23
@tomasfarias tomasfarias marked this pull request as ready for review September 18, 2023 11:53
@tomasfarias tomasfarias changed the title refactor: Format all datetimes as isoformat refactor: Format all BatchExports datetimes as isoformat Sep 18, 2023
@tomasfarias tomasfarias requested a review from a team September 18, 2023 11:54
@tomasfarias tomasfarias merged commit 8a7709d into master Sep 18, 2023
@tomasfarias tomasfarias deleted the refactor/do-all-isoformatted-dates branch September 18, 2023 12:09
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