From: Aurelien DARRAGON Date: Thu, 29 Sep 2022 08:25:24 +0000 (+0200) Subject: DOC/CLEANUP: lua-api: removing duplicate date functions doc X-Git-Tag: v2.7-dev7~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=28f0a60a75262510464c19b4ec1d64cc7cb526c0;p=thirdparty%2Fhaproxy.git DOC/CLEANUP: lua-api: removing duplicate date functions doc As reported by Thierry, core.asctime_date() and core.rfc850() were both documented multiple times in lua-api doc. This does not need to be backported. --- diff --git a/doc/lua-api/index.rst b/doc/lua-api/index.rst index 847ab521e9..2f73f35d01 100644 --- a/doc/lua-api/index.rst +++ b/doc/lua-api/index.rst @@ -460,24 +460,6 @@ Core class Sun Nov 6 08:49:37 1994 .. -.. js:function:: core.rfc850_date(date) - - **context**: body, init, task, action - - This function take a string representing http date, and returns an integer - containing the corresponding date with a epoch format. - - :param string date: a date http-date formatted - -.. js:function:: core.asctime_date(date) - - **context**: body, init, task, action - - This function take a string representing http date, and returns an integer - containing the corresponding date with a epoch format. - - :param string date: a date http-date formatted - .. js:function:: core.msleep(milliseconds) **context**: body, init, task, action