diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/api-common.rst | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/core/api-common.rst b/core/api-common.rst index 6b0f7929..696dc4f2 100644 --- a/core/api-common.rst +++ b/core/api-common.rst @@ -262,18 +262,19 @@ Timestamps are represented by the following structure: .. ts:def:: Timestamp interface Timestamp { - // Milliseconds since epoch, or the special + // Seconds since epoch, or the special // value "never" to represent an event that will // never happen. - t_ms: number | "never"; + t_s: number | "never"; } .. ts:def:: RelativeTime interface Duration { - // Duration in milliseconds or "forever" - // to represent an infinite duration. - d_ms: number | "forever"; + // Duration in microseconds or "forever" + // to represent an infinite duration. Numeric + // values are capped at 2^53 - 1 inclusive. + d_us: number | "forever"; } |