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

naturaltime returns different results on Windows vs OSX/Linux #35

Closed
jordanweaver opened this issue Apr 26, 2016 · 1 comment
Closed

Comments

@jordanweaver
Copy link

Comparing Windows 7 to *nix (OSX/Linux):

import datetime, humanize
humanize.naturaltime(datetime.datetime.now() + datetime.timedelta(days=3))

Returns 3 days from now on Windows, but 2 days from now on the others. I suppose I could interpret either answer as correct, but it feels more correct to say "now + 3 days" = "3 days from now" (siding with Windows, for once). In any case, they should at least agree independent of platform.

@hugovk
Copy link
Collaborator

hugovk commented May 3, 2022

🚀 Development has moved to https://github.com/python-humanize/humanize 🚀

Please open new issues at https://github.com/python-humanize/humanize/issues

@hugovk hugovk closed this as completed May 3, 2022
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