From b0d94a0a9b889d7e2661817c0e9630108397830d Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin Date: Tue, 8 Jan 2019 18:17:23 +0100 Subject: inets: Modernize doc --- lib/inets/doc/src/httpd_util.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/inets') 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 @@ Converts the date to the Erlang date format. DateString = string() - ErlDate = {{Year,Month,Date},{Hour,Min,Sec}} - Year = Month = Date = Hour = Min = Sec = integer() + ErlDate = calendar:datetime()

convert_request_date/1 converts DateString to @@ -281,10 +280,10 @@ rfc1123_date() -> RFC1123Date - rfc1123_date({{YYYY,MM,DD},{Hour,Min,Sec}}) -> RFC1123Date + rfc1123_date(Date) -> RFC1123Date Returns the current date in RFC 1123 format. - YYYY = MM = DD = Hour = Min = Sec = integer() + Date = calendar:datetime() RFC1123Date = string() -- cgit v1.2.3