Skip to content

Datetime format is inconsistent #5369

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

Open
frankie567 opened this issue Mar 27, 2025 — with Linear · 0 comments
Open

Datetime format is inconsistent #5369

frankie567 opened this issue Mar 27, 2025 — with Linear · 0 comments
Labels
dx Efforts to enhance developer experience for creators

Comments

Copy link
Member

frankie567 commented Mar 27, 2025

The datetime values we generate ourselves include the fractional seconds. The ones we get directly from Stripe don't.

Technically, this is not a problem for PostgreSQL or Pydantic. However, in API output, we might return datetimes in either formats, which might add difficulties for parsing in some languages.

There is apparently no obvious way to globally configure Pydantic datetime serialization format, so I'm not sure yet how to tackle this.

@frankie567 frankie567 added the dx Efforts to enhance developer experience for creators label Mar 27, 2025 — with Linear
@github-project-automation github-project-automation bot moved this to Backlog in Backlog Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dx Efforts to enhance developer experience for creators
Projects
Status: Backlog
Status: No status
Development

No branches or pull requests

1 participant