Title: fix: use `checked_mul()` to avoid overflow with "week" by cakebaker · Pull Request #219 · uutils/parse_datetime · GitHub
Open Graph Title: fix: use `checked_mul()` to avoid overflow with "week" by cakebaker · Pull Request #219 · uutils/parse_datetime
X Title: fix: use `checked_mul()` to avoid overflow with "week" by cakebaker · Pull Request #219 · uutils/parse_datetime
Description: Parses a relative time string and returns a jiff::Zoned object - fix: use `checked_mul()` to avoid overflow with "week" by cakebaker · Pull Request #219 · uutils/parse_datetime
Open Graph Description: #217 got merged before I could leave a comment. There is another overflow panic possible with "week", which this PR fixes.
X Description: #217 got merged before I could leave a comment. There is another overflow panic possible with "week", which this PR fixes.
Opengraph URL: https://github.com/uutils/parse_datetime/pull/219
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:b4fc1596-cdd4-3cd3-3c36-51e500b005ca |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ED46:20C9D0:10C9359:178646E:6A4DF6E1 |
| html-safe-nonce | 4e5086905932661695c047708a2086922b054d13776a683a33726527178e8a04 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDQ2OjIwQzlEMDoxMEM5MzU5OjE3ODY0NkU6NkE0REY2RTEiLCJ2aXNpdG9yX2lkIjoiNzEwNTIxMTE4MDM0MDA4MjQwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5eef78b04dd19b8ed2345a663490949809e73776fc8e65599a224b853f6c1b8c |
| hovercard-subject-tag | pull_request:2766254297 |
| 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/uutils/parse_datetime/219/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/69847ec8ff7cfc381caf25c5971e80d574a4823551cd3c6288e188e26cba07ae/uutils/parse_datetime/pull/219 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/69847ec8ff7cfc381caf25c5971e80d574a4823551cd3c6288e188e26cba07ae/uutils/parse_datetime/pull/219 |
| og:image:alt | #217 got merged before I could leave a comment. There is another overflow panic possible with "week", which this PR fixes. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cakebaker |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5818716c93c6a2925b815402541a32814e43a7b1261c322b0c2df75224289566 |
| turbo-cache-control | no-cache |
| go-import | github.com/uutils/parse_datetime git https://github.com/uutils/parse_datetime.git |
| octolytics-dimension-user_id | 5148717 |
| octolytics-dimension-user_login | uutils |
| octolytics-dimension-repository_id | 631627650 |
| octolytics-dimension-repository_nwo | uutils/parse_datetime |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 631627650 |
| octolytics-dimension-repository_network_root_nwo | uutils/parse_datetime |
| 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 | f4bb89367ca678f057d79b1abc45d6675b1bd5b2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width