René's URL Explorer Experiment


Title: Fix days to hours boundary for precise delta by eldipa · Pull Request #19 · python-humanize/humanize · GitHub

Open Graph Title: Fix days to hours boundary for precise delta by eldipa · Pull Request #19 · python-humanize/humanize

X Title: Fix days to hours boundary for precise delta by eldipa · Pull Request #19 · python-humanize/humanize

Description: Python humanize functions. Contribute to python-humanize/humanize development by creating an account on GitHub.

Open Graph Description: Fixes #14 Changes proposed in this pull request: Propagate correctly the days to hours in precisedelta Propose a truncate flag to truncate and remove values too close to zero in precisedelta Note...

X Description: Fixes #14 Changes proposed in this pull request: Propagate correctly the days to hours in precisedelta Propose a truncate flag to truncate and remove values too close to zero in precisedelta Note...

Opengraph URL: https://github.com/python-humanize/humanize/pull/19

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:c6884187-bf37-8036-e73a-e8d9b831191f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA802:273A67:2172BB2:2CD1AE2:6A5468A5
html-safe-nonceb6cbe81872c8c51847479d12095c5e72f71faa539c4a9c19d3e40889c68790fd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODAyOjI3M0E2NzoyMTcyQkIyOjJDRDFBRTI6NkE1NDY4QTUiLCJ2aXNpdG9yX2lkIjoiNzU2NTIxMzc0ODM4NDAwMDE2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3983134a8c53e37d4801e3895f1e97733df0c70b35d4e2794d52349c06b8a26c
hovercard-subject-tagpull_request:936947521
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python-humanize/humanize/19/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0222f6f7a7ce6ac8396ed1a5635ddf9545885255d2df1fc09b7e8c03eb681c01/python-humanize/humanize/pull/19
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0222f6f7a7ce6ac8396ed1a5635ddf9545885255d2df1fc09b7e8c03eb681c01/python-humanize/humanize/pull/19
og:image:altFixes #14 Changes proposed in this pull request: Propagate correctly the days to hours in precisedelta Propose a truncate flag to truncate and remove values too close to zero in precisedelta Note...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameeldipa
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/python-humanize/humanize git https://github.com/python-humanize/humanize.git
octolytics-dimension-user_id62149795
octolytics-dimension-user_loginpython-humanize
octolytics-dimension-repository_id466683324
octolytics-dimension-repository_nwopython-humanize/humanize
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id466683324
octolytics-dimension-repository_network_root_nwopython-humanize/humanize
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6d28624802c2f7d9500239dd6870ed7031b7353b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-humanize/humanize/pull/19#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-humanize%2Fhumanize%2Fpull%2F19
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F19
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
Reloadhttps://github.com/python-humanize/humanize/pull/19
Reloadhttps://github.com/python-humanize/humanize/pull/19
Reloadhttps://github.com/python-humanize/humanize/pull/19
Please reload this pagehttps://github.com/python-humanize/humanize/pull/19
python-humanize https://github.com/python-humanize
humanizehttps://github.com/python-humanize/humanize
Please reload this pagehttps://github.com/python-humanize/humanize/pull/19
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
eldipahttps://github.com/eldipa
python-humanize:mainhttps://github.com/python-humanize/humanize/tree/main
eldipa:Fix-Days-to-Hours-Boundary-for-Precise-Deltahttps://github.com/eldipa/humanize/tree/Fix-Days-to-Hours-Boundary-for-Precise-Delta
Conversationhttps://github.com/python-humanize/humanize/pull/19
Commits4 (4)https://github.com/python-humanize/humanize/pull/19/commits
Checkshttps://github.com/python-humanize/humanize/pull/19/checks
Files changedhttps://github.com/python-humanize/humanize/pull/19/files
Fix days to hours boundary for precise deltahttps://github.com/python-humanize/humanize/pull/19#top
eldipahttps://github.com/eldipa
python-humanize:mainhttps://github.com/python-humanize/humanize/tree/main
eldipa:Fix-Days-to-Hours-Boundary-for-Precise-Deltahttps://github.com/eldipa/humanize/tree/Fix-Days-to-Hours-Boundary-for-Precise-Delta
https://github.com/eldipa
eldipahttps://github.com/eldipa
May 16, 2022https://github.com/python-humanize/humanize/pull/19#issue-1236524415
#14https://github.com/python-humanize/humanize/issues/14
#14https://github.com/python-humanize/humanize/issues/14
byexamplehttps://byexamples.github.io/byexample/
#14https://github.com/python-humanize/humanize/issues/14
Please reload this pagehttps://github.com/python-humanize/humanize/pull/19
eldipahttps://github.com/eldipa
May 15, 2022 22:46https://github.com/python-humanize/humanize/pull/19#commits-pushed-744148a
https://github.com/eldipa
Propagate days to seconds and from there compute hours and minuteshttps://github.com/python-humanize/humanize/pull/19/commits/744148acda5bc1f80fbcb7cffca287886fdbf678
744148ahttps://github.com/python-humanize/humanize/pull/19/commits/744148acda5bc1f80fbcb7cffca287886fdbf678
https://github.com/eldipa
Truncate and discard zero values (draft)https://github.com/python-humanize/humanize/pull/19/commits/4d8175c87d7b8f3890a8ed7a86e3291b749a0c23
4d8175chttps://github.com/python-humanize/humanize/pull/19/commits/4d8175c87d7b8f3890a8ed7a86e3291b749a0c23
https://github.com/eldipa
Documented (and tested) the issuehttps://github.com/python-humanize/humanize/pull/19/commits/6cef97bac72ba70631365f07e07555be8632c534
python-humanize#14https://github.com/python-humanize/humanize/issues/14
: days/hours boun…https://github.com/python-humanize/humanize/pull/19/commits/6cef97bac72ba70631365f07e07555be8632c534
6cef97bhttps://github.com/python-humanize/humanize/pull/19/commits/6cef97bac72ba70631365f07e07555be8632c534
python-humanize#14https://github.com/python-humanize/humanize/issues/14
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python-humanize/humanize/pull/19/commits/cf7ec9d59f3598afee36f5e925f01b982871c7ac
cf7ec9dhttps://github.com/python-humanize/humanize/pull/19/commits/cf7ec9d59f3598afee36f5e925f01b982871c7ac
https://pre-commit.cihttps://pre-commit.ci
https://github.com/codecov-commenter
codecov-commenterhttps://github.com/codecov-commenter
May 16, 2022https://github.com/python-humanize/humanize/pull/19#issuecomment-1127141140
Please reload this pagehttps://github.com/python-humanize/humanize/pull/19
Codecovhttps://app.codecov.io/gh/python-humanize/humanize/pull/19?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
410b51dhttps://app.codecov.io/gh/python-humanize/humanize/commit/410b51d63a785b0cb96a52f55aed1256d5244c6d?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
cf7ec9dhttps://app.codecov.io/gh/python-humanize/humanize/commit/cf7ec9d59f3598afee36f5e925f01b982871c7ac?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
Files with missing lineshttps://app.codecov.io/gh/python-humanize/humanize/pull/19?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
src/humanize/time.pyhttps://app.codecov.io/gh/python-humanize/humanize/pull/19?src=pr&el=tree&filepath=src%2Fhumanize%2Ftime.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize#diff-c3JjL2h1bWFuaXplL3RpbWUucHk=
14 Missing ⚠️ https://app.codecov.io/gh/python-humanize/humanize/pull/19?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
Flaghttps://app.codecov.io/gh/python-humanize/humanize/pull/19/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
macos-latesthttps://app.codecov.io/gh/python-humanize/humanize/pull/19/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
ubuntu-latesthttps://app.codecov.io/gh/python-humanize/humanize/pull/19/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
windows-latesthttps://app.codecov.io/gh/python-humanize/humanize/pull/19/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
Click herehttps://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 Sentryhttps://app.codecov.io/gh/python-humanize/humanize/pull/19?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 herehttps://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 Analyticshttps://docs.codecov.com/docs/test-analytics
Please reload this pagehttps://github.com/python-humanize/humanize/pull/19
https://github.com/nuztalgia
nuztalgiahttps://github.com/nuztalgia
Jul 11, 2022 https://github.com/python-humanize/humanize/pull/19#ref-pullrequest-1292146450
Improve precisedelta to better support rounding and float values. #39 https://github.com/python-humanize/humanize/pull/39
https://github.com/dangillet
dangillethttps://github.com/dangillet
Nov 2, 2025https://github.com/python-humanize/humanize/pull/19#issuecomment-3477843163
@hugovkhttps://github.com/hugovk
#254https://github.com/python-humanize/humanize/pull/254
Please reload this pagehttps://github.com/python-humanize/humanize/pull/19
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Nov 11, 2025https://github.com/python-humanize/humanize/pull/19#issuecomment-3516966457
Please reload this pagehttps://github.com/python-humanize/humanize/pull/19
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Nov 11, 2025https://github.com/python-humanize/humanize/pull/19#event-20863046735
https://github.co/hiddenchars
https://github.com/python-humanize/humanize/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-humanize%2Fhumanize%2Fpull%2F19
Issues with odd months when restricting to "day" precision (precisedelta) https://github.com/python-humanize/humanize/issues/14
Please reload this pagehttps://github.com/python-humanize/humanize/pull/19
https://github.com/eldipa
https://github.com/codecov-commenter
https://github.com/dangillet
https://github.com/hugovk
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.