| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:1cae2dac-367d-1f23-3f69-0edc459a70f4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 81AA:211953:1465FE1:1DC2F58:6A54CB83 |
| html-safe-nonce | c302e271657b085bc674d5e8ecfe3cc5a4185f24b9c5bb94770a5a2613fa9595 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUFBOjIxMTk1MzoxNDY1RkUxOjFEQzJGNTg6NkE1NENCODMiLCJ2aXNpdG9yX2lkIjoiMjA1MjAxMzczODA0Mzk1MjAwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1cc79b5ef7afcaff39d2f012fa828e2a4fbcaa439a6af0601b8ab8ff1da43692 |
| hovercard-subject-tag | pull_request:985596315 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python-humanize/humanize/39/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/84ad7c82d9ca9d037865b0204c80634e9f063a2155621ad8342bafce05aff9d6/python-humanize/humanize/pull/39 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/84ad7c82d9ca9d037865b0204c80634e9f063a2155621ad8342bafce05aff9d6/python-humanize/humanize/pull/39 |
| og:image:alt | Fixes #14.
Fixes #20.
Changes proposed in this pull request
Implement better support for rounding and float values in precisedelta.
Add the test cases listed below, to clarify/enforce desired beha... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nuztalgia |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6e5f2e6ff3f430aa60a674066f957bca9f2106017e1b68126417422b58ce6e1e |
| turbo-cache-control | no-cache |
| go-import | github.com/python-humanize/humanize git https://github.com/python-humanize/humanize.git |
| octolytics-dimension-user_id | 62149795 |
| octolytics-dimension-user_login | python-humanize |
| octolytics-dimension-repository_id | 466683324 |
| octolytics-dimension-repository_nwo | python-humanize/humanize |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 466683324 |
| octolytics-dimension-repository_network_root_nwo | python-humanize/humanize |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | be4d48619391052c9d312c7b587bb2ac38a97f57 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python-humanize/humanize/pull/39#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-humanize%2Fhumanize%2Fpull%2F39 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-humanize%2Fhumanize%2Fpull%2F39 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python-humanize%2Fhumanize |
| Reload | https://github.com/python-humanize/humanize/pull/39 |
| Reload | https://github.com/python-humanize/humanize/pull/39 |
| Reload | https://github.com/python-humanize/humanize/pull/39 |
| Please reload this page | https://github.com/python-humanize/humanize/pull/39 |
|
python-humanize
| https://github.com/python-humanize |
| humanize | https://github.com/python-humanize/humanize |
| Please reload this page | https://github.com/python-humanize/humanize/pull/39 |
|
Notifications
| https://github.com/login?return_to=%2Fpython-humanize%2Fhumanize |
|
Fork
115
| https://github.com/login?return_to=%2Fpython-humanize%2Fhumanize |
|
Star
736
| https://github.com/login?return_to=%2Fpython-humanize%2Fhumanize |
|
Code
| https://github.com/python-humanize/humanize |
|
Issues
12
| https://github.com/python-humanize/humanize/issues |
|
Pull requests
12
| https://github.com/python-humanize/humanize/pulls |
|
Actions
| https://github.com/python-humanize/humanize/actions |
|
Security and quality
0
| https://github.com/python-humanize/humanize/security |
|
Insights
| https://github.com/python-humanize/humanize/pulse |
|
Code
| https://github.com/python-humanize/humanize |
|
Issues
| https://github.com/python-humanize/humanize/issues |
|
Pull requests
| https://github.com/python-humanize/humanize/pulls |
|
Actions
| https://github.com/python-humanize/humanize/actions |
|
Security and quality
| https://github.com/python-humanize/humanize/security |
|
Insights
| https://github.com/python-humanize/humanize/pulse |
| nuztalgia | https://github.com/nuztalgia |
| python-humanize:main | https://github.com/python-humanize/humanize/tree/main |
| nuztalgia:precisedelta-rounding | https://github.com/nuztalgia/forked-humanize/tree/precisedelta-rounding |
| Conversation | https://github.com/python-humanize/humanize/pull/39 |
| Commits6 (6) | https://github.com/python-humanize/humanize/pull/39/commits |
| Checks | https://github.com/python-humanize/humanize/pull/39/checks |
| Files changed | https://github.com/python-humanize/humanize/pull/39/files |
| Improve precisedelta to better support rounding and float values. | https://github.com/python-humanize/humanize/pull/39#top |
| nuztalgia | https://github.com/nuztalgia |
| python-humanize:main | https://github.com/python-humanize/humanize/tree/main |
| nuztalgia:precisedelta-rounding | https://github.com/nuztalgia/forked-humanize/tree/precisedelta-rounding |
|
| https://github.com/nuztalgia |
| nuztalgia | https://github.com/nuztalgia |
| Jul 2, 2022 | https://github.com/python-humanize/humanize/pull/39#issue-1292146450 |
| Please reload this page | https://github.com/python-humanize/humanize/pull/39 |
| #14 | https://github.com/python-humanize/humanize/issues/14 |
| #20 | https://github.com/python-humanize/humanize/issues/20 |
| Please reload this page | https://github.com/python-humanize/humanize/pull/39 |
| https://github.com/codecov-commenter |
| codecov-commenter | https://github.com/codecov-commenter |
| Jul 2, 2022 | https://github.com/python-humanize/humanize/pull/39#issuecomment-1172964829 |
| Please reload this page | https://github.com/python-humanize/humanize/pull/39 |
| Codecov | https://app.codecov.io/gh/python-humanize/humanize/pull/39?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize |
| e705e43 | https://app.codecov.io/gh/python-humanize/humanize/commit/e705e4327e4745dcc6ef9bf62db65b1eb5d0f844?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize |
| 9ff98f7 | https://app.codecov.io/gh/python-humanize/humanize/commit/9ff98f7f989638f1e1b7bdedf4869185c2cf73b6?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize |
| Flag | https://app.codecov.io/gh/python-humanize/humanize/pull/39/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize |
| macos-latest | https://app.codecov.io/gh/python-humanize/humanize/pull/39/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize |
| ubuntu-latest | https://app.codecov.io/gh/python-humanize/humanize/pull/39/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize |
| windows-latest | https://app.codecov.io/gh/python-humanize/humanize/pull/39/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize |
| Click here | https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize#carryforward-flags-in-the-pull-request-comment |
| ☔ View full report in Codecov by Sentry | https://app.codecov.io/gh/python-humanize/humanize/pull/39?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize |
| Share it here | https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize |
| Test Analytics | https://docs.codecov.com/docs/test-analytics |
| Please reload this page | https://github.com/python-humanize/humanize/pull/39 |
| https://github.com/nuztalgia |
| nuztalgia | https://github.com/nuztalgia |
|
Jul 2, 2022
| https://github.com/python-humanize/humanize/pull/39#ref-issue-1224143981 |
|
Issues with odd months when restricting to "day" precision (precisedelta)
#14
| https://github.com/python-humanize/humanize/issues/14 |
| https://github.com/nuztalgia |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-humanize%2Fhumanize%2Fpull%2F39 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
|
changelog: Fixed
| https://github.com/python-humanize/humanize/issues?q=state%3Aopen%20label%3A%22changelog%3A%20Fixed%22 |
| Jul 4, 2022 | https://github.com/python-humanize/humanize/pull/39#event-6928647130 |
| nuztalgia | https://github.com/nuztalgia |
| July 11, 2022 10:48 | https://github.com/python-humanize/humanize/pull/39#commits-pushed-2f92b59 |
|
| https://github.com/nuztalgia |
| Add tests defining the desired behavior for precisedelta. | https://github.com/python-humanize/humanize/pull/39/commits/2f92b59b3977c9c9d59df41c0a5342a24d3fd1f2 |
| 2f92b59 | https://github.com/python-humanize/humanize/pull/39/commits/2f92b59b3977c9c9d59df41c0a5342a24d3fd1f2 |
|
| https://github.com/nuztalgia |
| Support float in precisedelta and fix bugs to make new tests pass. | https://github.com/python-humanize/humanize/pull/39/commits/5b23416853c5c5fea165ad1adadc3118e2c05036 |
| 5b23416 | https://github.com/python-humanize/humanize/pull/39/commits/5b23416853c5c5fea165ad1adadc3118e2c05036 |
|
| https://github.com/nuztalgia |
| Improve grammar and consistency in some internal docstrings/comments. | https://github.com/python-humanize/humanize/pull/39/commits/6e8e9bbe8dff32790de6d83f9bbbe50f27ce03e7 |
| 6e8e9bb | https://github.com/python-humanize/humanize/pull/39/commits/6e8e9bbe8dff32790de6d83f9bbbe50f27ce03e7 |
|
| https://github.com/nuztalgia |
| Clean up some type annotations in time tests. | https://github.com/python-humanize/humanize/pull/39/commits/27643cc8bafa3f33ecf05e289703ab4e6d536224 |
| 27643cc | https://github.com/python-humanize/humanize/pull/39/commits/27643cc8bafa3f33ecf05e289703ab4e6d536224 |
|
| https://github.com/nuztalgia |
| Add more tests to catch the "odd months" bug described in | https://github.com/python-humanize/humanize/pull/39/commits/2473d6dbbaaf98a70c2d3f2f597fd670d3249e7f |
| python-huma… | https://github.com/python-humanize/humanize/issues/14 |
| 2473d6d | https://github.com/python-humanize/humanize/pull/39/commits/2473d6dbbaaf98a70c2d3f2f597fd670d3249e7f |
| …nize#14 | https://github.com/python-humanize/humanize/issues/14 |
|
| https://github.com/eldipa |
|
| https://github.com/nuztalgia |
| Propagate days to seconds and from there compute hours and minutes | https://github.com/python-humanize/humanize/pull/39/commits/9ff98f7f989638f1e1b7bdedf4869185c2cf73b6 |
| 9ff98f7 | https://github.com/python-humanize/humanize/pull/39/commits/9ff98f7f989638f1e1b7bdedf4869185c2cf73b6 |
| https://github.com/nuztalgia |
| nuztalgia | https://github.com/nuztalgia |
| force-pushed | https://github.com/python-humanize/humanize/compare/e2f2dad0a313961930c44488b7d7c6bd98f98dd8..9ff98f7f989638f1e1b7bdedf4869185c2cf73b6 |
| e2f2dad | https://github.com/python-humanize/humanize/commit/e2f2dad0a313961930c44488b7d7c6bd98f98dd8 |
| 9ff98f7 | https://github.com/python-humanize/humanize/commit/9ff98f7f989638f1e1b7bdedf4869185c2cf73b6 |
|
Compare
| https://github.com/python-humanize/humanize/compare/e2f2dad0a313961930c44488b7d7c6bd98f98dd8..9ff98f7f989638f1e1b7bdedf4869185c2cf73b6 |
| July 11, 2022 18:20 | https://github.com/python-humanize/humanize/pull/39#event-6971770121 |
| https://github.com/nuztalgia |
| nuztalgia | https://github.com/nuztalgia |
| Jul 11, 2022 | https://github.com/python-humanize/humanize/pull/39#issuecomment-1180746594 |
| Please reload this page | https://github.com/python-humanize/humanize/pull/39 |
| #19 | https://github.com/python-humanize/humanize/pull/19 |
| #14 | https://github.com/python-humanize/humanize/issues/14 |
| @eldipa | https://github.com/eldipa |
| #39 (comment) | https://github.com/python-humanize/humanize/pull/39#issue-1292146450 |
| Please reload this page | https://github.com/python-humanize/humanize/pull/39 |
| https://github.com/nuztalgia |
| nuztalgia | https://github.com/nuztalgia |
|
Jul 11, 2022
| https://github.com/python-humanize/humanize/pull/39#ref-pullrequest-1224296231 |
|
Add type hints
#15
| https://github.com/python-humanize/humanize/pull/15 |
| https://github.com/dangillet |
| dangillet | https://github.com/dangillet |
|
May 26, 2025
| https://github.com/python-humanize/humanize/pull/39#ref-pullrequest-3091551248 |
|
Fix precisedelta rounding
#254
| https://github.com/python-humanize/humanize/pull/254 |
| https://github.com/dangillet |
| dangillet | https://github.com/dangillet |
| Nov 2, 2025 | https://github.com/python-humanize/humanize/pull/39#issuecomment-3477842244 |
| @hugovk | https://github.com/hugovk |
| #254 | https://github.com/python-humanize/humanize/pull/254 |
| Please reload this page | https://github.com/python-humanize/humanize/pull/39 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| Nov 7, 2025 | https://github.com/python-humanize/humanize/pull/39#issuecomment-3504958312 |
| Please reload this page | https://github.com/python-humanize/humanize/pull/39 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| Nov 7, 2025 | https://github.com/python-humanize/humanize/pull/39#event-20798519422 |
| https://github.co/hiddenchars |
| https://github.com/python-humanize/humanize/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-humanize%2Fhumanize%2Fpull%2F39 |
|
changelog: Fixed
| https://github.com/python-humanize/humanize/issues?q=state%3Aopen%20label%3A%22changelog%3A%20Fixed%22 |
|
precisedelta: 1 hour and 1 minutes
| https://github.com/python-humanize/humanize/issues/20 |
|
Issues with odd months when restricting to "day" precision (precisedelta)
| https://github.com/python-humanize/humanize/issues/14 |
| Please reload this page | https://github.com/python-humanize/humanize/pull/39 |
|
| https://github.com/nuztalgia |
|
| https://github.com/codecov-commenter |
|
| https://github.com/dangillet |
|
| https://github.com/hugovk |
|
| https://github.com/eldipa |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |