Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
admackin opened this issue Jun 21, 2024 · 1 comment
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.

@brebuanirello-equinix
Copy link

same issue here

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants