Title: Fix naturalday/naturaldate wrong answer for tz-aware datetimes by worksbyfriday · Pull Request #296 · python-humanize/humanize · GitHub
Open Graph Title: Fix naturalday/naturaldate wrong answer for tz-aware datetimes by worksbyfriday · Pull Request #296 · python-humanize/humanize
X Title: Fix naturalday/naturaldate wrong answer for tz-aware datetimes by worksbyfriday · Pull Request #296 · python-humanize/humanize
Description: Python humanize functions. Contribute to python-humanize/humanize development by creating an account on GitHub.
Open Graph Description: Summary When a tz-aware datetime is passed, naturalday() and naturaldate() extract the date in the value's timezone (via dt.date(value.year, value.month, value.day)) but compare it with dt.date...
X Description: Summary When a tz-aware datetime is passed, naturalday() and naturaldate() extract the date in the value's timezone (via dt.date(value.year, value.month, value.day)) but compare it with dt....
Opengraph URL: https://github.com/python-humanize/humanize/pull/296
X: @github
Domain: github.com
| 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:38716ef1-cb95-b781-f81f-9c3605986b71 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DE6A:18E13:46AE91:65D0B0:6A55DF2E |
| html-safe-nonce | e1f087f989978b3d57360f3ec1bd318dbd317c60587d61cc8c0bc344a380aee4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTZBOjE4RTEzOjQ2QUU5MTo2NUQwQjA6NkE1NURGMkUiLCJ2aXNpdG9yX2lkIjoiNDgwMjgyODEwMjI5MTI4Mzc1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1971b06a782e744972abc1a8eb0ef627c97dd8360ab6530caca3799c184e37da |
| hovercard-subject-tag | pull_request:3297101520 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python-humanize/humanize/296/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/5445904add30630089c0e745366dd2c4203940a9e12df57a363cdd83bcd71c7f/python-humanize/humanize/pull/296 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5445904add30630089c0e745366dd2c4203940a9e12df57a363cdd83bcd71c7f/python-humanize/humanize/pull/296 |
| og:image:alt | Summary When a tz-aware datetime is passed, naturalday() and naturaldate() extract the date in the value's timezone (via dt.date(value.year, value.month, value.day)) but compare it with dt.date... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | worksbyfriday |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| 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 | 3725c7f9b2a6e3a27ef57c5aed13428c0f65e045 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width