[tor-commits] [torspec/master] Add current-time/{local, utc} to GETINFO

catalyst at torproject.org catalyst at torproject.org
Fri Apr 20 19:18:10 UTC 2018


commit f59414d0e210c1eec99bf7ad4ea290051c5714fe
Author: Neel Chauhan <neel at neelc.org>
Date:   Thu Apr 19 20:46:41 2018 -0400

    Add current-time/{local,utc} to GETINFO
---
 control-spec.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/control-spec.txt b/control-spec.txt
index 03d153d..80ff5a1 100644
--- a/control-spec.txt
+++ b/control-spec.txt
@@ -1066,6 +1066,11 @@
       consensus, base-64 encoded.  An empty value means that either
       the consensus has no shared random value, or Tor has no consensus.
 
+    "current-time/local"
+    "current-time/utc"
+      The current system or UTC time, as returned by the system, in ISOTime2
+      format.
+
     "config-can-saveconf"
       0 or 1, depending on whether it is possile to use SAVECONF without the
       FORCE flag. (Introduced in 0.3.1.1-alpha.)



More information about the tor-commits mailing list