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

Release v0113 merge test #105

Open
wants to merge 22 commits into
base: test
Choose a base branch
from
Open

Release v0113 merge test #105

wants to merge 22 commits into from

Conversation

namonakimono
Copy link

Release v0113 merge test

YufJi and others added 22 commits October 12, 2023 16:55
同步修改单元测试用例(的参数顺序)

补充日期时间函数、ToString、jsonSerialize 对时区的支持,且后向兼容。
将 date-fns 更换为 moment 以解决夏令时、冬令时问题。
增加 ToString、jsonSerialize 单元测试。
修复 GetDateCount,增加单元测试
修复 GetSpecificDaysOfWeek,增加单元测试
修复 FormatDateTime,增加单元测试
修复 CurrDateTime,增加单元测试
修复 CurrDate,增加单元测试
修复 CurrTime,增加单元测试
增加一个时区自适应测试
修复以前提交的一些bug

修改实现和单元测试以适配最新nasl。

修复 json 序列化。

针对字符串的DateTime输入,
适配 GetDateCount、GetSpecificDaysOfWeek、JsonSerialize、
ToString 和测试用例。

修改 ToString JsonSerialize GetDateCount GetSpecificDaysOfWeek
的兼容性处理和测试用例

日期时间保留 .000 毫秒部分
增加 4 个 date-diff 单元测试用例
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.

4 participants