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

Date.js 里面的getMonthOfDay #2

Open
mrzqii opened this issue May 30, 2018 · 2 comments
Open

Date.js 里面的getMonthOfDay #2

mrzqii opened this issue May 30, 2018 · 2 comments

Comments

@mrzqii
Copy link

mrzqii commented May 30, 2018

测试2018-02 返回29 实际是28天 ^^

@WQHASH
Copy link

WQHASH commented Sep 12, 2018

Date.js中的formatTime 下的 formatObj[key] 没有处理到礼拜天的情况 :)

@WQHASH
Copy link

WQHASH commented Sep 12, 2018

还有一个 formatTime 下的这段代码 if ((time + '').length === 10) {
time = +time * 1000
} 没看明白 ,是为了处理什么呢?

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

No branches or pull requests

2 participants