aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2019-01-08 18:17:23 +0100
committerIngela Anderton Andin <[email protected]>2019-01-08 18:17:23 +0100
commitb0d94a0a9b889d7e2661817c0e9630108397830d (patch)
treeeaa30fa7f91944d7f25c6dad52e16735626e7c3d /lib
parentaaff48f70435d79b8e4106f61ecc8fcdb953007f (diff)
downloadotp-b0d94a0a9b889d7e2661817c0e9630108397830d.tar.gz
otp-b0d94a0a9b889d7e2661817c0e9630108397830d.tar.bz2
otp-b0d94a0a9b889d7e2661817c0e9630108397830d.zip
inets: Modernize doc
Diffstat (limited to 'lib')
-rw-r--r--lib/inets/doc/src/httpd_util.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/inets/doc/src/httpd_util.xml b/lib/inets/doc/src/httpd_util.xml
index 29971ba8ae..e0f947f860 100644
--- a/lib/inets/doc/src/httpd_util.xml
+++ b/lib/inets/doc/src/httpd_util.xml
@@ -45,8 +45,7 @@
<fsummary>Converts the date to the Erlang date format.</fsummary>
<type>
<v>DateString = string()</v>
- <v>ErlDate = {{Year,Month,Date},{Hour,Min,Sec}}</v>
- <v>Year = Month = Date = Hour = Min = Sec = integer()</v>
+ <v>ErlDate = calendar:datetime() </v>
</type>
<desc>
<p><c>convert_request_date/1</c> converts <c>DateString</c> to
@@ -281,10 +280,10 @@
<func>
<name since="">rfc1123_date() -> RFC1123Date</name>
- <name since="">rfc1123_date({{YYYY,MM,DD},{Hour,Min,Sec}}) -> RFC1123Date</name>
+ <name since="">rfc1123_date(Date) -> RFC1123Date</name>
<fsummary>Returns the current date in RFC 1123 format.</fsummary>
<type>
- <v>YYYY = MM = DD = Hour = Min = Sec = integer()</v>
+ <v> Date = calendar:datetime()</v>
<v>RFC1123Date = string()</v>
</type>
<desc>