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

allow writing to timestamp-millis instead of timestamp-micros format #111

Open
admackin opened this issue Jun 21, 2024 · 0 comments
Open

Comments

@admackin
Copy link

Currently there's no way that I can tell that a pydantic date-time field can be converted to a timestamp-millis field, which is the required timestamp format at my workplace. I can see here that it's hardcoded to timestamp-micros, but I also note that in the other direction, both millis and micros are converted to datetime.

I am not sure how to fix in a backwards-compatible way without requiring some kind of config setup which doesn't currently exist but if anyone has ideas I would gladly submit a PR.

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

No branches or pull requests

1 participant