Title: Use UTC dates · Issue #1362 · python-telegram-bot/python-telegram-bot · GitHub
Open Graph Title: Use UTC dates · Issue #1362 · python-telegram-bot/python-telegram-bot
X Title: Use UTC dates · Issue #1362 · python-telegram-bot/python-telegram-bot
Description: python-telegram-bot/telegram/utils/helpers.py Lines 78 to 90 in 4397903 def from_timestamp(unixtime): """ Args: unixtime (int): Returns: datetime.datetime: """ if not unixtime: return None return datetime.fromtimestamp(unixtime) Should p...
Open Graph Description: python-telegram-bot/telegram/utils/helpers.py Lines 78 to 90 in 4397903 def from_timestamp(unixtime): """ Args: unixtime (int): Returns: datetime.datetime: """ if not unixtime: return None return d...
X Description: python-telegram-bot/telegram/utils/helpers.py Lines 78 to 90 in 4397903 def from_timestamp(unixtime): """ Args: unixtime (int): Returns: datetime.datetime: """ if not ...
Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/issues/1362
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Use UTC dates","articleBody":"https://github.com/python-telegram-bot/python-telegram-bot/blob/439790375ed8ed493c43e464aa8e2b60a77939db/telegram/utils/helpers.py#L78-L90\r\n\r\nShould probably be using `tz=timezone.utc`. Python's `datetime` isn't the best, and `fromtimestamp` by default sets no `tz` information, which uses the local time, which in turn is generally a bad idea.","author":{"url":"https://github.com/Lonami","@type":"Person","name":"Lonami"},"datePublished":"2019-03-14T15:40:14Z","url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/1362"}
| 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:70f1b607-7396-4ec4-1330-4558113cdd42 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CD26:240CD1:4BFC3A8:6059513:6B025F3D |
| html-safe-nonce | e400e351339d22e707a459c797705078903953c48dc8370da8159a1473abc307 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDI2OjI0MENEMTo0QkZDM0E4OjYwNTk1MTM6NkIwMjVGM0QiLCJ2aXNpdG9yX2lkIjoiNTkyMDYwMDQwNjMwNzc5MDY1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fb43d9dc645d76d1ecfa247f1637e2e83b015f2104a5ee432d3715a89b2e40b2 |
| hovercard-subject-tag | issue:421094395 |
| 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-telegram-bot/python-telegram-bot/1362/issue_layout |
| twitter:image | https://opengraph.githubassets.com/461d039d79f87a3563e26419d9b8c739a62543fd0a9fdec2253a2ee474bd99e0/python-telegram-bot/python-telegram-bot/issues/1362 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/461d039d79f87a3563e26419d9b8c739a62543fd0a9fdec2253a2ee474bd99e0/python-telegram-bot/python-telegram-bot/issues/1362 |
| og:image:alt | python-telegram-bot/telegram/utils/helpers.py Lines 78 to 90 in 4397903 def from_timestamp(unixtime): """ Args: unixtime (int): Returns: datetime.datetime: """ if not unixtime: return None return d... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lonami |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git |
| octolytics-dimension-user_id | 16178365 |
| octolytics-dimension-user_login | python-telegram-bot |
| octolytics-dimension-repository_id | 38696925 |
| octolytics-dimension-repository_nwo | python-telegram-bot/python-telegram-bot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38696925 |
| octolytics-dimension-repository_network_root_nwo | python-telegram-bot/python-telegram-bot |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width