[LNT] r308334 - Show ISO8061 timestamps in docs

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 18 11:40:19 PDT 2017


Author: cmatthews
Date: Tue Jul 18 11:40:19 2017
New Revision: 308334

URL: http://llvm.org/viewvc/llvm-project?rev=308334&view=rev
Log:
Show ISO8061 timestamps in docs

We want to encourage people to use ISO8061 timestamps, so make the docs
use them.

Modified:
    lnt/trunk/docs/importing_data.rst
    lnt/trunk/docs/report-example.json

Modified: lnt/trunk/docs/importing_data.rst
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/docs/importing_data.rst?rev=308334&r1=308333&r2=308334&view=diff
==============================================================================
--- lnt/trunk/docs/importing_data.rst (original)
+++ lnt/trunk/docs/importing_data.rst Tue Jul 18 11:40:19 2017
@@ -39,8 +39,8 @@ First, make sure you've understood the u
           (_String_: _String_)* // optional extra info
       },
       "run": {
-          "start_time": "%Y-%m-%d %H:%M:%S", // mandatory
-          "end_time": "%Y-%m-%d %H:%M:%S",   // mandatory
+          "start_time": "%Y-%m-%dT%H:%M:%S", // mandatory, ISO8061 timestamp
+          "end_time": "%Y-%m-%dT%H:%M:%S",   // mandatory, ISO8061 timestamp, can equal start_time if not known.
           (_String_: _String_)* // optional extra info about the run.
           // At least one of the extra fields is used as ordering and is
           // mandatory. For the 'nts' and 'Compile' schemas this is the

Modified: lnt/trunk/docs/report-example.json
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/docs/report-example.json?rev=308334&r1=308333&r2=308334&view=diff
==============================================================================
--- lnt/trunk/docs/report-example.json (original)
+++ lnt/trunk/docs/report-example.json Tue Jul 18 11:40:19 2017
@@ -5,8 +5,8 @@
        "hardware": "HAL 9000"
     },
     "run": {
-       "end_time": "2016-04-07 14:25:52",
-       "start_time": "2016-04-07 09:33:48",
+       "end_time": "2017-07-18T11:28:23.991076",
+       "start_time": "2017-07-18T11:28:33.00000",
        "llvm_project_revision": "265649",
        "compiler_version": "clang 4.0"
     },




More information about the llvm-commits mailing list