From: Cyril Bonté Date: Tue, 5 Nov 2019 22:13:59 +0000 (+0100) Subject: DOC: fix date and http_date keywords syntax X-Git-Tag: v2.1-dev5~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6bcd1826c53bdb84213e38a6389fbe5a14f4df0f;p=thirdparty%2Fhaproxy.git 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. --- 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