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

修复相对时间判定问题 #30

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

imhele
Copy link

@imhele imhele commented Apr 5, 2020

修改前:
「下周一到下下周一」的第二个相对时间会以第一个相对时间为基准,例如今天是 2020-04-05,输出为 ['2020-04-06 00:00:00', '2020-04-20 00:00:00']

修改后:
第二个相对时间不会采用上下文,与第一个相对时间使用同一个 timeBase,例如今天是 2020-04-05,输出为 ['2020-04-06 00:00:00', '2020-04-13 00:00:00']

注意:对代码不是特别了解,需要检查一下有没有对其他情况造成影响。

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

Successfully merging this pull request may close these issues.

None yet

1 participant