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

Meta datetime attributes return str, not datetime #108

Open
falexwolf opened this issue Jun 30, 2022 · 0 comments
Open

Meta datetime attributes return str, not datetime #108

falexwolf opened this issue Jun 30, 2022 · 0 comments

Comments

@falexwolf
Copy link
Member

I'm not entirely sure whether it applies here, but I think that a Python API should return datetime objects, and not str.

We're using isoformat datetime strings for JSON, because JSON only knows isoformat datetime strings and that's the standard.

But I think within the Python, we should stick with datetime objects.

What do you think @Koncopd?

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