search_dates separates date and hours and minutes
维护者通常 1 天内回复
评估
调研方向
首先,使用 "timestamp">timestamp 24-Aug-2021 11:00 重现报告中的 search_dates 调用,并将其返回的条目与预期的单个合并结果进行比较。跟踪 search_dates 入口点及其日期/时间分离行为;当日期和时间一起返回,同时现有解析行为保持不变时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
When I pass the string "timestamp">timestamp 24-Aug-2021 11:00" to search_dates, I would naturally expect it to return [('24-Aug-2021 11:00', datetime.datetime(2021, 8, 24, 11, 0))], however, it actually returns [('11:00', datetime.datetime(2021, 8, 24, 11, 0)), ('24-Aug-2021', datetime.datetime(2021, 8, 24, 0, 0))]. In other words, it separates the date and the hours
- 主要语言
- 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 于 3 天前认领。 未关闭
难度 3/5 半天 新手友好度 25/100
scrapinghub/dateparser#1613 ·
维护者通常 1 天内回复
查看 scrapinghub/dateparser 的全部 Issue
相似的 Issue
-
[19.0] pos_sale: settling an order with a 0 down payment line crashes (reading 'reward_id') and leaves a wrong amount due可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 79/100
developmentseed/titiler-covjson#164 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
awslabs/visual-asset-management-system#2164 ·
维护者通常 1 天内回复
-
needs-triage
难度 2/5 1-3 小时 新手友好度 86/100
MakazhanAlpamys/Soup#3589 ·
维护者通常 1 天内回复
-
channels status reports the wrong Enabled value for Feishu instances and default-enabled WebSocket未关闭
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复