From 6bcd1826c53bdb84213e38a6389fbe5a14f4df0f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Cyril=20Bont=C3=A9?= Date: Tue, 5 Nov 2019 23:13:59 +0100 Subject: [PATCH] DOC: fix date and http_date keywords syntax These keywords received a second argument with commit ae6f125 ("MINOR: sample: add us/ms support to date/http_date"). Each argument is optional, it's not either both or none. --- doc/configuration.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index d8fe6b6505..0bb7313cd1 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -13245,7 +13245,7 @@ hex2i Converts a hex string containing two hex digits per input byte to an integer. If the input value cannot be converted, then zero is returned. -http_date([]) +http_date([]) Converts an integer supposed to contain a date since epoch to a string representing this date in a format suitable for use in HTTP header fields. If an offset value is specified, then it is added to the date before the @@ -14066,7 +14066,7 @@ cpu_ns_tot : integer high cpu_calls count, for example when processing many HTTP chunks, and for this reason it is often preferred to log cpu_ns_avg instead. -date([, ]) : integer +date([],[]) : integer Returns the current date as the epoch (number of seconds since 01/01/1970). If an offset value is specified, then it is added to the current date before -- 2.47.3