浏览代码

drouting: notes about the format of duration attribute

Daniel-Constantin Mierla 10 年之前
父节点
当前提交
711144a1fa
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      modules/drouting/doc/drouting_admin.xml

+ 6 - 2
modules/drouting/doc/drouting_admin.xml

@@ -469,7 +469,11 @@
 		be small enough such that subsequent intervals do not overlap. 
 		For non-recurring intervals, durations of any positive length are 
 		permitted, zero-length duration means <quote>forever</quote>. 
-		Negative-length durations are not allowed.
+		Negative-length durations are not allowed. In the common case of
+		a duration less than one day, the value starts with 'PT' followed by
+		number of hours, minutes and seconds, e.g., a duration of 8 hours
+		and 30 minutes is written 'PT8H30M'. See RFC 2445 DURATION
+		specifications for full format.
 	</para>
 	</listitem>
 	<listitem>
@@ -612,7 +616,7 @@
 		Here is an example of evaluating multiple Byxxx parameters.
 	</para>
 	<para>
-		dtstart=<quote>19970105T083000</quote> duration=<quote>10M</quote>
+		dtstart=<quote>19970105T083000</quote> duration=<quote>PT10M</quote>
 		freq=<quote>yearly</quote> interval=<quote>2</quote> 
 		bymonth=<quote>1</quote> byday=<quote>SU</quote>
 	</para>