[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: changing time API
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: changing time API |
Date: |
Sat, 11 Dec 2021 21:51:43 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new ce3efae changing time API
ce3efae is described below
commit ce3efae11ca9aa59f99d7f3c57b73f75f93564df
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Dec 11 21:51:41 2021 +0100
changing time API
---
core/api-common.rst | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/core/api-common.rst b/core/api-common.rst
index 6b0f792..696dc4f 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";
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: changing time API,
gnunet <=