Incorrect result
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先重现确切的示例 dateparser.parse(date_string="11 de a"),并检查处理此长度字符串的 parser 入口点。确定此看起来格式错误的输入应有的行为,然后添加展示该行为的回归覆盖;该 issue 未指定要运行的源文件或现有测试。
由索引模型根据 Issue 内容生成。
描述
In [37]: dateparser.parse(date_string="11 de a")
Out[37]:
datetime.datetime(
year=2011,
month=7,
day=14,
hour=15,
minute=57,
second=17,
microsecond=334749
)
It happens a lot with strings of the format "\d\d \W\ \W\W", and not with strings longer and shorter than that.
- 主要语言
- Python
- 星标
- 2.9k
- 派生
- 545
- 平均合并
- 2 天 4 小时
- 30 天内合并 PR
- 17
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
scrapinghub/dateparser 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
scrapinghub/dateparser#1617 ·
维护者通常 1 天内回复
-
StaticTzInfo has localize() but not normalize(), so pytz-detecting code crashes on it可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 1/5 1-3 小时 新手友好度 70/100
scrapinghub/dateparser#1591 ·
维护者通常 1 天内回复
-
Validate on Python 3.15可能已有人在做 @kishan3 于 25 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 67/100
scrapinghub/dateparser#1548 ·
维护者通常 1 天内回复
-
search_dates() raises IndexError for the zh-Hans, zh-Hant and yue locales可能已有人在做 @abhi-0203 于 88 天前认领。 未关闭search_dates Status: Bug confirmed Type: Bug
难度 2/5 1-3 小时 新手友好度 88/100
scrapinghub/dateparser#1372 ·
维护者通常 1 天内回复
-
Adopt sphinx-scrapy, with docs dependencies in a dependency group可能已有人在做 @yamilmaud 于 4 天前认领。 未关闭
难度 3/5 半天 新手友好度 25/100
scrapinghub/dateparser#1613 ·
维护者通常 1 天内回复
查看 scrapinghub/dateparser 的全部 Issue
相似的 Issue
-
bug: conversation context selects the oldest thread messages instead of recent replies可能已有人在做 @BLVCK-MAMBA-6 今天认领。 未关闭bug enhancement
难度 2/5 1-3 小时 新手友好度 84/100
AOSSIE-Org/SkillBot#74 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
bad-antics/lateralus-lang#1438 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
area: control app
难度 2/5 1-3 小时 新手友好度 76/100
glossyio/traffic-monitor#415 ·
维护者通常 1 天内回复
-
apply_matrix_rect takes 6-9% of extract_text time可能已有人在做 @g4lb 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
pdfminer/pdfminer.six#1333 ·
维护者通常 1 天内回复