taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit ce3efae11ca9aa59f99d7f3c57b73f75f93564df
parent 704f3592f1e9308336567dd39c1f24ce90cbb39d
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 11 Dec 2021 21:51:41 +0100

changing time API

Diffstat:
Mcore/api-common.rst | 11++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

diff --git 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"; }