From 81006ee1246b8f700ce9ce20814d4522780d7ceb Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Tue, 1 Sep 2015 09:17:39 +0200 Subject: [PATCH] tmrec: more details about duration format for time recurrences --- modules/tmrec/doc/tmrec_admin.xml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/modules/tmrec/doc/tmrec_admin.xml b/modules/tmrec/doc/tmrec_admin.xml index c70bdb27a6a..b791226a755 100644 --- a/modules/tmrec/doc/tmrec_admin.xml +++ b/modules/tmrec/doc/tmrec_admin.xml @@ -126,9 +126,14 @@ modparam("tmrec", "separator", ";") For a recurring interval, the duration parameter MUST 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 forever. - Negative-length durations are not allowed. See RFC 2445 for - the format of duration. + permitted. Zero-length duration means forever. + Negative-length durations are not allowed. + + + See RFC 2445 for the format of duration. In short for common cases + when the duration doesn't exeed a data, it must start with PT + followed by the value for hours, minutes or seconds - e.g., a + duration of 8 hours must be written as PT8H. @@ -253,7 +258,7 @@ modparam("tmrec", "separator", ";") Next is an example of evaluating multiple Byxxx parameters. - startdate=20100101T093000 duration=10H30M + startdate=20100101T093000 duration=PT10H30M frequency=yearly interval=4 bymonth=3 byday=SU