Skip to content

Commit 83d068e

Browse files
committed
Clarify that Unix timestamps disregard leap seconds since 1970
Fixes #1626.
1 parent 4f8b8a7 commit 83d068e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

content/_index.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -419,9 +419,14 @@ into the `m.` namespace.
419419

420420
### Timestamps
421421

422-
Unless otherwise stated, timestamps are measured as milliseconds since
423-
the Unix epoch. Throughout the specification this may be referred to as
424-
POSIX, Unix, or just "time in milliseconds".
422+
Unless otherwise stated, timestamps are [Unix
423+
timestamps](https://en.wikipedia.org/wiki/Unix_time), but measured in
424+
milliseconds. This means, they approximate the number of milliseconds
425+
since 1970-01-01 00:00:00.000 UTC, but disregard leap seconds so that
426+
each day is precisely 86,400,000 milliseconds. This also means that
427+
timestamps can repeat. Most programming languages provide timestamps in
428+
that format natively. Throughout the specification this may be referred
429+
to as POSIX, Unix, or just "time in milliseconds".
425430

426431
## Specification Versions
427432

0 commit comments

Comments
 (0)