-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
dayjs.duration(x.diff(y)) 后获取seconds()返回大于59 #865
Comments
Syntax-J
changed the title
dayjs.duration(x.diff(y).seconds()返回大于59
dayjs.duration(x.diff(y)) 后获取seconds()返回大于59
Apr 15, 2020
@iamkun has funded $1.00 to this issue.
|
issuehunt-oss
bot
added
the
💵 Funded on Issuehunt
This issue has been funded on Issuehunt
label
Apr 15, 2020
@iamkun has cancelled funding for this issue.(Cancelled amount: $1.00) See it on IssueHunt |
issuehunt-oss
bot
removed
the
💵 Funded on Issuehunt
This issue has been funded on Issuehunt
label
Apr 15, 2020
dayjs v1.8.24 const time = dayjs.duration(12345, 's');
console.log(time.hours(), time.minutes(), time.seconds());
// 3 205 12345 |
@CatsMiaow Fixed in #867 |
🎉 This issue has been resolved in version 1.8.25 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
moment表现正常
Expected behavior
返回0到59
Information
IssueHunt Summary
Backers (Total: $0.00)
Become a backer now!
Or submit a pull request to get the deposits!
Tips
IssueHunt has been backed by the following sponsors. Become a sponsor
The text was updated successfully, but these errors were encountered: