github / github/relative-time-element

One full year extra when displaying relative time to 2015

Offen
#307 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
4k
Forks
192
Ø Merge
1 T. 10 Std.
Gemergte PRs (30 T.)
5

Beschreibung

```

```

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.