aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngela Andin <[email protected]>2019-01-09 10:00:01 +0100
committerGitHub <[email protected]>2019-01-09 10:00:01 +0100
commitd6d8777d0f02f73d55407a354b1df094288ddf35 (patch)
treeeaa30fa7f91944d7f25c6dad52e16735626e7c3d
parentaaff48f70435d79b8e4106f61ecc8fcdb953007f (diff)
parentb0d94a0a9b889d7e2661817c0e9630108397830d (diff)
downloadotp-d6d8777d0f02f73d55407a354b1df094288ddf35.tar.gz
otp-d6d8777d0f02f73d55407a354b1df094288ddf35.tar.bz2
otp-d6d8777d0f02f73d55407a354b1df094288ddf35.zip
Merge pull request #2087 from IngelaAndin/ingela/inets/spec-doc-fix/ERL-816
inets: Modernize doc OTP-15508
-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>