[Tickets #6509] Re: Time period - vacation error

bugs at horde.org bugs at horde.org
Thu Mar 27 13:13:01 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/6509
-----------------------------------------------------------------------
 Ticket             | 6509
 Updated By         | linuxbox at wavenet.at
 Summary            | Time period - vacation error
 Queue              | Ingo
 Version            | 1.2-RC2
 Type               | Bug
 State              | Resolved
 Priority           | 2. Medium
 Milestone          | 
 Patch              | 
 Owners             | 
-----------------------------------------------------------------------


linuxbox at wavenet.at (2008-03-27 09:13) wrote:

Hi jan,

So .. I am a little bit the man in the middle:
That's what I got from the procmail list to the
code Ingo generates:

--------------------------------------------------------------------------------------------
 :0 Whc: vacation.lock
| /bin/sh -c 'if [ $DATE -gt $START ]; then if [ $END -gt $DATE ]; then
true; else false;fi;fi;'
--------------------------------------------------------------------------------------------
This will never work...
It should be:

    :0 Whc: vacation.lock
    * ? test $DATE -gt $START && test $END -gt $DATE
    
--------------------------------------------------------------------------------------------




More information about the bugs mailing list