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

[feature] for better and easier reading convert weeks into month without some hours and minutes #24

Open
AngelTs opened this issue Aug 26, 2017 · 8 comments

Comments

@AngelTs
Copy link

AngelTs commented Aug 26, 2017

2017-09-25 15:55:00 to 2017-08-25 17:12:00 is:
4 weeks, 1 day, 22 hours, 43 minutes and 51 seconds
but should be much better if be:
1 month without 1 hour and 17 minutes (and 9 seconds)
http://countdownjs.org/demo.html

@andyklimczak
Copy link

Are you expecting 4 weeks, 2 days?

other datetime difference calculator => Result: 30 days, 22 hours, 43 minutes and 0 seconds

@mckamey
Copy link
Owner

mckamey commented Aug 27, 2017 via email

@AngelTs AngelTs changed the title [bug] Wrong calculation for weeks: 4 weeks are 1 month [feature] for better and easier reading convert weeks into month without some hours and minutes Aug 27, 2017
@AngelTs
Copy link
Author

AngelTs commented Aug 27, 2017

Guys, you are right, but my point was something different. My apologies that i didn't write correct description first time. Sorry

@mckamey
Copy link
Owner

mckamey commented Aug 27, 2017 via email

@AngelTs
Copy link
Author

AngelTs commented Aug 27, 2017

Is it possible with API to convert
4 weeks, 1 day, 22 hours, 43 minutes and 51 seconds
to
1 month without 1 hour and 17 minutes (and 9 seconds)
?

@mckamey
Copy link
Owner

mckamey commented Aug 27, 2017 via email

@AngelTs
Copy link
Author

AngelTs commented Aug 28, 2017

mckamey, I understand you and wrote above that you are right (no need to repeat your answer). Also wrote that I have made mistake with my first description- which you clearly didn't read.
I simple suggest a new feature, because at the end of the day we want countdown.js to be better right?
So I asked and answer (by myself) on my above question:
No, present version of countdown.js can't convert
"4 weeks, 1 day, 22 hours, 43 minutes and 51 seconds"
to
"1 month without 1 hour and 17 minutes"

@mckamey
Copy link
Owner

mckamey commented Aug 28, 2017 via email

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

3 participants