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

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

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