]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC/CLEANUP: lua-api: removing duplicate date functions doc
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 29 Sep 2022 08:25:24 +0000 (10:25 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 30 Sep 2022 13:21:20 +0000 (15:21 +0200)
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.

doc/lua-api/index.rst

index 847ab521e9d719510657797a8abe75a94649947f..2f73f35d0103116638384d4af7d22a9b2c1ed815 100644 (file)
@@ -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