-
Notifications
You must be signed in to change notification settings - Fork 171
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
Stray days added to duration #262
Comments
That does seem confusing. Would you kindly add a set of failing tests around here: relative-time-element/test/relative-time.js Lines 1756 to 1762 in 3a8f30f
If you raise a PR where the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, I am having an issue where the relative time between
2022-07-11T09:00:00+02:00
and2023-07-11T09:00:00+02:00
is1 year, 5 days
instead of1 year
. Similarly2023-05-11T09:00:00+02:00
and2023-07-11T09:00:00+02:00
are2 months, 1 day
where I'd expect it to be just2 months
. As I shorten or lengthen the difference between datetimes the days decrease or increase respectively.I can think of possibilities at calculation level where these come from, however I find the human-readable duration confusing.
The text was updated successfully, but these errors were encountered: