Update `str*time` to C11 format codes
未關閉
@StanFromIreland 已經在處理了。
開始於 2025年10月28日。
docs
stdlib
tests
type-feature
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
Feature or enhancement
There are several things to do, these are already supported by strftime but some (support for a few was added recently but not documented) are not supported by strptime (e.g. %t is not supported).
- Update docs, currently the table is a bit messy with non-standard format codes listed, i.e.
%f, and quite a few codes are missing. - Refactor
strftimetests, they were written when the format codes were not expected. - Complete
strptime, e.g.%n. - Document that
strptimecollapses whitespace,%tan%n - Consider: Add an entry to What's New
I will be working on this and most likely extending this list.
Linked PRs
- gh-140716
- gh-140647
- gh-123980
- gh-144819
- gh-144896
- gh-145388
- gh-145389
- gh-145955
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
評估
這個 Issue 還沒有評估資料。