Title: datetime.strftime dislikes years before 1900 · Issue #45329 · python/cpython · GitHub
Open Graph Title: datetime.strftime dislikes years before 1900 · Issue #45329 · python/cpython
X Title: datetime.strftime dislikes years before 1900 · Issue #45329 · python/cpython
Description: BPO 1777412 Nosy @loewis, @birkenfeld, @abalkin, @vstinner, @giampaolo, @merwok Dependencies bpo-7989: Add pure Python implementation of datetime module to CPythonbpo-10827: Functions in time module should support year < 1900 when accept...
Open Graph Description: BPO 1777412 Nosy @loewis, @birkenfeld, @abalkin, @vstinner, @giampaolo, @merwok Dependencies bpo-7989: Add pure Python implementation of datetime module to CPythonbpo-10827: Functions in time modul...
X Description: BPO 1777412 Nosy @loewis, @birkenfeld, @abalkin, @vstinner, @giampaolo, @merwok Dependencies bpo-7989: Add pure Python implementation of datetime module to CPythonbpo-10827: Functions in time modul...
Opengraph URL: https://github.com/python/cpython/issues/45329
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"datetime.strftime dislikes years before 1900","articleBody":"BPO | [1777412](https://bugs.python.org/issue1777412)\n--- | :---\nNosy | @loewis, @birkenfeld, @abalkin, @vstinner, @giampaolo, @merwok\nDependencies | \u003cli\u003ebpo-7989: Add pure Python implementation of datetime module to CPython\u003c/li\u003e\u003cli\u003ebpo-10827: Functions in time module should support year \u0026lt; 1900 when accept2dyear = 0\u003c/li\u003e\nFiles | \u003cli\u003e[strftime-pre-1900.patch](https://bugs.python.org/file10253/strftime-pre-1900.patch \"Uploaded as text/plain at 2008-05-10.15:35:22 by davidfraser\"): patch to use strftime directly from datetime instead of going through the time module, and remove the pre-1900 restriction\u003c/li\u003e\u003cli\u003e[strftime-pre-1900.patch](https://bugs.python.org/file19157/strftime-pre-1900.patch \"Uploaded as text/plain at 2010-10-08.04:37:17 by kiorky\")\u003c/li\u003e\u003cli\u003e[issue1777412.diff](https://bugs.python.org/file20307/issue1777412.diff \"Uploaded as text/plain at 2011-01-07.22:59:32 by @abalkin\")\u003c/li\u003e\u003cli\u003e[datetime_strftime_nolimit.diff](https://bugs.python.org/file20309/datetime_strftime_nolimit.diff \"Uploaded as text/plain at 2011-01-08.00:26:17 by @vstinner\")\u003c/li\u003e\u003cli\u003e[strftime_1_9999.patch](https://bugs.python.org/file20310/strftime_1_9999.patch \"Uploaded as text/plain at 2011-01-08.01:36:50 by @vstinner\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = 'https://github.com/abalkin'\nclosed_at = \u003cDate 2011-01-08.16:40:31.480\u003e\ncreated_at = \u003cDate 2007-08-20.03:36:14.000\u003e\nlabels = ['type-feature', 'library']\ntitle = 'datetime.strftime dislikes years before 1900'\nupdated_at = \u003cDate 2011-01-08.16:40:31.478\u003e\nuser = 'https://bugs.python.org/benno'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2011-01-08.16:40:31.478\u003e\nactor = 'vstinner'\nassignee = 'belopolsky'\nclosed = True\nclosed_date = \u003cDate 2011-01-08.16:40:31.480\u003e\ncloser = 'vstinner'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2007-08-20.03:36:14.000\u003e\ncreator = 'benno'\ndependencies = ['7989', '10827']\nfiles = ['10253', '19157', '20307', '20309', '20310']\nhgrepos = []\nissue_num = 1777412\nkeywords = ['patch']\nmessage_count = 26.0\nmessages = ['55156', '55157', '66535', '66541', '66584', '66585', '75727', '75731', '100163', '100165', '107167', '110792', '118163', '118212', '118328', '118331', '125478', '125725', '125736', '125738', '125740', '125741', '125742', '125743', '125748', '125792']\nnosy_count = 9.0\nnosy_names = ['loewis', 'georg.brandl', 'davidfraser', 'belopolsky', 'benno', 'vstinner', 'giampaolo.rodola', 'eric.araujo', 'kiorky']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'commit review'\nstatus = 'closed'\nsuperseder = None\ntype = 'enhancement'\nurl = 'https://bugs.python.org/issue1777412'\nversions = ['Python 3.2']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/benno","@type":"Person","name":"benno"},"datePublished":"2007-08-20T03:36:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":26},"url":"https://github.com/45329/cpython/issues/45329"}
| 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:f13beade-6042-0554-00b4-e03f038c0324 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AB06:50FD4:427F9:60239:6A4E6178 |
| html-safe-nonce | 3aefb9f9da8e8b2df1403f544e1da6a605b3e4a5ecf4832b7b82cfea93df07c3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjA2OjUwRkQ0OjQyN0Y5OjYwMjM5OjZBNEU2MTc4IiwidmlzaXRvcl9pZCI6IjU0NzU3MjUyODQyOTk2NjE2ODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 27ff6f5381e10da9984341248955b1d28b80cb2ef41b84b2f5929fe8b95fda35 |
| hovercard-subject-tag | issue:1198823414 |
| 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/45329/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1953408d1b4c2ae94489e695efd351a8e4259b7c32649a58fc1397bbcd2d917a/python/cpython/issues/45329 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1953408d1b4c2ae94489e695efd351a8e4259b7c32649a58fc1397bbcd2d917a/python/cpython/issues/45329 |
| og:image:alt | BPO 1777412 Nosy @loewis, @birkenfeld, @abalkin, @vstinner, @giampaolo, @merwok Dependencies bpo-7989: Add pure Python implementation of datetime module to CPythonbpo-10827: Functions in time modul... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | benno |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width