relative-time-element icon indicating copy to clipboard operation
relative-time-element copied to clipboard

One full year extra when displaying relative time to 2015

Open bartvdbraak opened this issue 11 months ago • 0 comments

 <relative-time prefix="" tense="past" datetime="2015-02-14T15:13:48+05:00"></relative-time>

Is displayed as

11 years ago

Relative to today, which is 6 Feb 2025

Is this correct?


https://www.timeanddate.com/date/durationresult.html?d1=14&m1=2&y1=2015&d2=6&m2=2&y2=2025

From and including: Saturday, 14 February 2015 To, but not including Thursday, 6 February 2025 Result: 3645 days

It is 3645 days from the start date to the end date, but not including the end date.

Or 9 years, 11 months, 23 days excluding the end date.

Or 119 months, 23 days excluding the end date.

bartvdbraak avatar Feb 06 '25 13:02 bartvdbraak