Skip to content

One full year extra when displaying relative time to 2015 #307

Open
@bartvdbraak

Description

@bartvdbraak
 <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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions