Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[功能请求]解析时间 #232

Open
aikangjun opened this issue Aug 20, 2024 · 3 comments
Open

[功能请求]解析时间 #232

aikangjun opened this issue Aug 20, 2024 · 3 comments

Comments

@aikangjun
Copy link

描述该功能的用处,可以提供相关资料描述该功能
感谢开发人员的付出,这个项目非常的好用!!!
希望能支持比如
['下午三点后的三个小时','从7月1号起连续3天','从3月开始连续2个月']
这样的时间

该功能是否用于改进项目缺陷,如果是,请描述现有缺陷
目前项目在识别这些时间的时候,不能达到想要的效果。
3月21号后的2天 {'type': 'time_point', 'definition': 'accurate', 'time': ['2024-03-21 00:00:00', '2024-03-21 23:59:59']}, 从7月1号起连续3天 {'type': 'time_point', 'definition': 'accurate', 'time': ['2024-07-01 00:00:00', '2024-07-01 23:59:59']}, 从3月开始连续2个月 {'type': 'time_point', 'definition': 'accurate', 'time': ['2024-03-01 00:00:00', '2024-03-31 23:59:59']}

描述你期望实现该功能的方式和最终效果
期望能够得到正确的时间表示
请顺手 star 一下右上角的⭐小星星

@aikangjun
Copy link
Author

如果有解决这个问题的方案 请在下方留言 十分感谢

@aikangjun
Copy link
Author

aikangjun commented Aug 21, 2024

包括这个一周前的星期二 {'type': 'time_point', 'definition': 'accurate', 'time': ['2024-08-20 00:00:00', '2024-08-20 23:59:59']},7月8号的前3天 {'type': 'time_point', 'definition': 'accurate', 'time': ['2024-07-08 00:00:00', '2024-07-08 23:59:59']}

@slliao445
Copy link

mark一下,我这边项目也需要这种时间点+时间段的解析方式

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants