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

Providing millisecondes in timedelta does not work #372

Open
tcleonard opened this issue Nov 26, 2024 · 1 comment
Open

Providing millisecondes in timedelta does not work #372

tcleonard opened this issue Nov 26, 2024 · 1 comment

Comments

@tcleonard
Copy link

Providing a float amount of seconds in timedelta does not work

env.timedelta("NO_VALUE", default=42.3)

will have a value of 42 seconds, ignoring the decimal part.

A PR to solve this was already submitted #368 and closed with no valid reason

@ddelange
Copy link
Contributor

could this silent downcast be a ticket for marshmallow instead of for environs @sloria?

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

2 participants