Skip to content

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

Open
imhele wants to merge 9 commits intozhanzecheng:masterfrom
imhele:master
Open

修复相对时间判定问题#30
imhele wants to merge 9 commits intozhanzecheng:masterfrom
imhele:master

Conversation

@imhele
Copy link
Copy Markdown

@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.

1 participant