File 0325-erlang-module-doc-erlang-start_timer-4.patch of Package erlang

From e27364cef2ff3f4eff53387a8e7b25ed6e2cf669 Mon Sep 17 00:00:00 2001
From: Kjell Winblad <kjellwinblad@gmail.com>
Date: Tue, 22 Sep 2020 10:25:41 +0200
Subject: [PATCH 25/39] erlang module doc: erlang:start_timer/4

* fix time interval with incorrect unit
---
 erts/doc/src/erlang.xml | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 46516a2522..3a197b6344 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -7329,11 +7329,13 @@ true</pre>
         </taglist>
         <p>More <c><anno>Option</anno></c>s can be added in the future.</p>
         <p>The absolute point in time, the timer is set to expire on,
-          must be in the interval
-          <c>[</c><seeerl marker="#system_info_start_time">
-          <c>erlang:system_info(start_time)</c></seeerl><c>,
-          </c><seeerl marker="#system_info_end_time">
-          <c>erlang:system_info(end_time)</c></seeerl><c>]</c>.
+        must be in the interval <c>[ </c><seemfa
+        marker="#convert_time_unit/3">erlang:convert_time_unit</seemfa><c>(</c><seeerl
+        marker="#system_info_start_time">erlang:system_info</seeerl><c>(start_time),
+        native, millisecond), </c><seemfa
+        marker="#convert_time_unit/3">erlang:convert_time_unit</seemfa><c>(</c><seeerl
+        marker="#system_info_end_time">erlang:system_info</seeerl><c>(end_time),
+        native, millisecond) ]</c>.
           If a relative time is specified, the <c><anno>Time</anno></c>
           value is not allowed to be negative.</p>
         <p>If <c><anno>Dest</anno></c> is a <c>pid()</c>, it must
-- 
2.26.2

openSUSE Build Service is sponsored by