Skip to content

feat(Countdown.js): 新增节假日(holiday)模式#1499

Open
tea-blog wants to merge 1 commit intoTaleLin:developfrom
tea-blog:develop
Open

feat(Countdown.js): 新增节假日(holiday)模式#1499
tea-blog wants to merge 1 commit intoTaleLin:developfrom
tea-blog:develop

Conversation

@tea-blog
Copy link

countdownType类型添加了holiday(节假日模式),参数time输入"m-d"(月-日),例如:1-1(元旦节假日),与当前时间戳差值比较出现负值,添加一年时间戳,然后返回即可出现下一个节假日出现的倒计时。: )

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