<div dir="ltr">Hello Daniel,<div>It works, thanks for the reply and have a Happy new year</div><div><br></div><div>Regards</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/2 Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
try PT24H, the format for duration in rfc2445 requires some
characters to specify the type of values. I updated the readme in
master branch. If works, I will backport.<br>
<br>
Cheers,<br>
Daniel<div><div class="h5"><br>
<br>
<div>On 31/12/13 15:58, José Seabra wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hello,
<div>I noticed that if i remove duration parameter the error
"ERROR: <core> [tmrec.c:1320]:
tr_parse_recurrence_string(): failed to parse time recurrence
[20130101T080500|24H]" doesn't appear, anyone can explain me
if i'm doing something wrong on tmrec_match function.</div>
<div><br>
</div>
<div>Regards</div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/12/30 José Seabra <span dir="ltr"><<a href="mailto:joseseabra4@gmail.com" target="_blank">joseseabra4@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">Hi there,
<div>I'm trying use tmrec_match in order to create
routing rules based on time, but without sucess,
please have a look at my code and the errors that i
got:</div>
<div><br>
</div>
<div>Code block:</div>
<div><br>
</div>
<div>
<div>if(tmrec_match("20130101T080500|24H|weekly|||MO<span style="background-color:rgb(254,254,238)">,TU,WE,TH,FR</span>"))</div>
<div> {</div>
<div> xlog("L_INFO",
"time match R=$ru ID=$ci\n"); </div>
<div> }</div>
<div><br>
</div>
<div><br>
</div>
<div>Error:</div>
<div><br>
</div>
<div>ERROR: <core> [tmrec.c:1320]:
tr_parse_recurrence_string(): failed to parse time
recurrence [20130101T080500|24H]<br>
</div>
<div><br>
</div>
<div>My server has the following date/hour</div>
<div>Seg Dez 30 18:35:57 WET 2013<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Thank for your help</div>
<span><font color="#888888"><br clear="all">
<div><br>
</div>
-- <br>
Cumprimentos
<div>
José Seabra</div>
</font></span></div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Cumprimentos
<div>José Seabra</div>
</div>
</div>
</div>
</blockquote>
<br>
</div></div><span class="HOEnZb"><font color="#888888"><pre cols="72">--
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Cumprimentos<div>José Seabra</div>
</div>