Title: Wrong hour in timezone "Africa/Cairo" from 2023 · Issue #706 · python-pendulum/pendulum · GitHub
Open Graph Title: Wrong hour in timezone "Africa/Cairo" from 2023 · Issue #706 · python-pendulum/pendulum
X Title: Wrong hour in timezone "Africa/Cairo" from 2023 · Issue #706 · python-pendulum/pendulum
Description: OS version and name: OSX 13.3.1 (22E261) Pendulum version: 2.1.2 Issue In 2023, Cairo has started daylight saving in 2023 on 2023-04-27T21:00:00 UTC. This 2023-04-27T21:00:00 UTC should be local time 2023-04-28T00:00:00 (Cairo time). How...
Open Graph Description: OS version and name: OSX 13.3.1 (22E261) Pendulum version: 2.1.2 Issue In 2023, Cairo has started daylight saving in 2023 on 2023-04-27T21:00:00 UTC. This 2023-04-27T21:00:00 UTC should be local ti...
X Description: OS version and name: OSX 13.3.1 (22E261) Pendulum version: 2.1.2 Issue In 2023, Cairo has started daylight saving in 2023 on 2023-04-27T21:00:00 UTC. This 2023-04-27T21:00:00 UTC should be local ti...
Opengraph URL: https://github.com/python-pendulum/pendulum/issues/706
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Wrong hour in timezone \"Africa/Cairo\" from 2023","articleBody":"\u003c!--\r\n Once those are done, if you're able to fill in the following list with your information,\r\n it'd be very helpful to whoever handles the issue.\r\n-->\r\n\r\n- **OS version and name**: OSX 13.3.1 (22E261)\r\n- **Pendulum version**: 2.1.2\r\n\r\n## Issue\r\n\r\nIn 2023, Cairo has started daylight saving in 2023 on 2023-04-27T21:00:00 UTC.\r\nThis 2023-04-27T21:00:00 UTC should be local time 2023-04-28T00:00:00 (Cairo time). However, in pendulumn this is still converted to 2023-04-27T23:00:00 (Cairo time)\r\nPlease see the replay below:\r\n```\r\n>>> dt = pendulum.datetime(2023, 4, 27, 21)\r\n>>> dt\r\nDateTime(2023, 4, 27, 21, 0, 0, tzinfo=Timezone('UTC'))\r\n>>> dt.in_timezone('Africa/Cairo')\r\nDateTime(2023, 4, 27, 23, 0, 0, tzinfo=Timezone('Africa/Cairo'))\r\n```\r\n\r\nBasically, pendumlum is not implementing daylight saving for Africa/Cairo time.\r\n\r\nThis is related to this issue: https://github.com/sdispater/pendulum/issues/700 where Mexico has made the similar decision in 2023. \r\n","author":{"url":"https://github.com/psyking841","@type":"Person","name":"psyking841"},"datePublished":"2023-05-04T16:44:41Z","url":"https://github.com/python-pendulum/pendulum/issues/706"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:297848b0-59dc-556f-a493-19b38ee30f72 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BAD2:AA473:70008B:99ECD7:6B04794F |
| html-safe-nonce | acad2df30d4b2e58ffff612de93409cc4ea30ec4a9901002d7caa9d073be23d9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUQyOkFBNDczOjcwMDA4Qjo5OUVDRDc6NkIwNDc5NEYiLCJ2aXNpdG9yX2lkIjoiMjkwNjE1MDIzNzc4Mzc1MDk5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 948c529f0de702cb8d555af957d56b0de07d4a6eb71beed484cb2c6889e6d24f |
| hovercard-subject-tag | issue:1696341977 |
| 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-pendulum/pendulum/706/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6e29b3fd8b68af917a16e818161145fc107f1aa77b0b18ba3e4a7b9d37946292/python-pendulum/pendulum/issues/706 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6e29b3fd8b68af917a16e818161145fc107f1aa77b0b18ba3e4a7b9d37946292/python-pendulum/pendulum/issues/706 |
| og:image:alt | OS version and name: OSX 13.3.1 (22E261) Pendulum version: 2.1.2 Issue In 2023, Cairo has started daylight saving in 2023 on 2023-04-27T21:00:00 UTC. This 2023-04-27T21:00:00 UTC should be local ti... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | psyking841 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| turbo-cache-control | no-preview |
| go-import | github.com/python-pendulum/pendulum git https://github.com/python-pendulum/pendulum.git |
| octolytics-dimension-user_id | 191041900 |
| octolytics-dimension-user_login | python-pendulum |
| octolytics-dimension-repository_id | 62095504 |
| octolytics-dimension-repository_nwo | python-pendulum/pendulum |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 62095504 |
| octolytics-dimension-repository_network_root_nwo | python-pendulum/pendulum |
| 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 | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width