Title: Invalid datetime.time.fromisoformat · Issue #124257 · python/cpython · GitHub
Open Graph Title: Invalid datetime.time.fromisoformat · Issue #124257 · python/cpython
X Title: Invalid datetime.time.fromisoformat · Issue #124257 · python/cpython
Description: Bug report Bug description: According to the standard ISO 8601 Thus the value ‘24:00:00’ is chosen to represent the final instant of the day in order to distinguish the expression of this instant from an expression of a time scale unit. ...
Open Graph Description: Bug report Bug description: According to the standard ISO 8601 Thus the value ‘24:00:00’ is chosen to represent the final instant of the day in order to distinguish the expression of this instant f...
X Description: Bug report Bug description: According to the standard ISO 8601 Thus the value ‘24:00:00’ is chosen to represent the final instant of the day in order to distinguish the expression of this instant f...
Opengraph URL: https://github.com/python/cpython/issues/124257
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Invalid datetime.time.fromisoformat","articleBody":"# Bug report\n\n### Bug description:\n\nAccording to the standard ISO 8601 `Thus the value ‘24:00:00’ is chosen to represent the final\ninstant of the day in order to distinguish the expression of this instant from an expression of a time scale\nunit.` \n\n```python\n\u003e\u003e\u003e datetime.time.fromisoformat(\"24:00\")\nTraceback (most recent call last):\n File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\nValueError: hour must be in 0..23\n\n```\n[Link to standard pdf](https://cdn.standards.iteh.ai/samples/81801/f527872a9fe34281ae3a4af8e730f3f8/ISO-8601-1-2019-Amd-1-2022.pdf)\n\n### CPython versions tested on:\n\n3.10, 3.12\n\n### Operating systems tested on:\n\nLinux, macOS","author":{"url":"https://github.com/random1st","@type":"Person","name":"random1st"},"datePublished":"2024-09-19T19:09:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/124257/cpython/issues/124257"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0a891203-ee1d-9f7e-3860-573af2665048 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C4AE:114C91:7B34AD:A26F37:696B4CAF |
| html-safe-nonce | 8d2e3152e45607d459fcdda88e506cbf33377173bd35b01c79df96b709aa2e24 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEFFOjExNEM5MTo3QjM0QUQ6QTI2RjM3OjY5NkI0Q0FGIiwidmlzaXRvcl9pZCI6IjM0OTU3MTY2MzQ4MjUzOTE4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8d15bc4040cfa35877e5a5b569215090c70ddd92e42bc1da7ab272cc39d94cc8 |
| hovercard-subject-tag | issue:2537172645 |
| github-keyboard-shortcuts | repository,issues,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/issues/show/python/cpython/124257/issue_layout |
| twitter:image | https://opengraph.githubassets.com/00a7d174d337cb410092497655dcd63f508e7ce32535b9f1eb5603ccfd4495fd/python/cpython/issues/124257 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/00a7d174d337cb410092497655dcd63f508e7ce32535b9f1eb5603ccfd4495fd/python/cpython/issues/124257 |
| og:image:alt | Bug report Bug description: According to the standard ISO 8601 Thus the value ‘24:00:00’ is chosen to represent the final instant of the day in order to distinguish the expression of this instant f... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | random1st |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width