diff xml/en/docs/http/ngx_http_api_module.xml @ 2253:a89093ff86a3

Clarified ISO 8601 time, changed example, bumped version in API.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 09 Oct 2018 12:28:06 +0300
parents 45a2b90247ad
children d5e576eb7677
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_api_module.xml	Mon Oct 08 14:23:33 2018 +0000
+++ b/xml/en/docs/http/ngx_http_api_module.xml	Tue Oct 09 12:28:06 2018 +0300
@@ -1514,13 +1514,13 @@
 <literal>load_timestamp</literal> (<literal>string</literal>)
 </tag-name>
 <tag-desc>
-Time of the last reload of configuration, in milliseconds since Epoch.
+Time of the last reload of configuration, in the ISO 8601 format with millisecond resolution.
 </tag-desc>
 <tag-name>
 <literal>timestamp</literal> (<literal>string</literal>)
 </tag-name>
 <tag-desc>
-Current time in milliseconds since Epoch.
+Current time in the ISO 8601 format with millisecond resolution.
 </tag-desc>
 <tag-name>
 <literal>pid</literal> (<literal>integer</literal>)
@@ -1539,12 +1539,12 @@
 <example>
 {
   "nginx" : {
-    "version" : "1.13.3",
-    "build" : "nginx-plus-r12-p3",
+    "version" : "1.15.2",
+    "build" : "nginx-plus-r16",
     "address" : "206.251.255.64",
-    "generation" : 2,
-    "load_timestamp" : "2017-07-07T11:09:21.594Z",
-    "timestamp" : "2017-07-11T09:31:13.477Z",
+    "generation" : 6,
+    "load_timestamp" : "2018-10-08T09:05:48.776Z",
+    "timestamp" : "2018-10-08T15:23:17.056Z",
     "pid" : 32212,
     "ppid" : 32210
   }
@@ -2250,13 +2250,13 @@
 <literal>downstart</literal> (<literal>string</literal>)
 </tag-name>
 <tag-desc>
-The time (in milliseconds since Epoch) when the server became “<literal>unavail</literal>”, “<literal>checking</literal>”, or “<literal>unhealthy</literal>”.
+The time when the server became “<literal>unavail</literal>”, “<literal>checking</literal>”, or “<literal>unhealthy</literal>”, in the ISO 8601 format with millisecond resolution.
 </tag-desc>
 <tag-name>
 <literal>selected</literal> (<literal>string</literal>)
 </tag-name>
 <tag-desc>
-The time (in milliseconds since Epoch) when the server was last selected to process a request.
+The time when the server was last selected to process a request, in the ISO 8601 format with millisecond resolution.
 </tag-desc>
 <tag-name>
 <literal>header_time</literal> (<literal>integer</literal>)
@@ -2738,13 +2738,13 @@
 <literal>downstart</literal> (<literal>string</literal>)
 </tag-name>
 <tag-desc>
-The time (in milliseconds since Epoch) when the server became “<literal>unavail</literal>”, “<literal>checking</literal>”, or “<literal>unhealthy</literal>”.
+The time when the server became “<literal>unavail</literal>”, “<literal>checking</literal>”, or “<literal>unhealthy</literal>”, in the ISO 8601 format with millisecond resolution.
 </tag-desc>
 <tag-name>
 <literal>selected</literal> (<literal>string</literal>)
 </tag-name>
 <tag-desc>
-The time (in milliseconds since Epoch) when the server was last selected to process a connection.
+The time when the server was last selected to process a connection, in the ISO 8601 format with millisecond resolution.
 </tag-desc>
 </list>
 </tag-desc>