Re: sieve vacation with start and end date

2014-12-30 Thread k...@rice.edu
On Tue, Dec 30, 2014 at 09:25:48AM -0500, James Cassell wrote: > > On Tue, Dec 30, 2014, at 08:51 AM, k...@rice.edu wrote: > > Quoting Adam Tauno Williams : > > > > > On Sun, 2014-12-28 at 10:20 +0100, Marcus Schopen wrote: > > >> does sieve vacation understand a start and end date? Something lik

Re: sieve vacation with start and end date

2014-12-30 Thread James Cassell
On Tue, Dec 30, 2014, at 08:51 AM, k...@rice.edu wrote: > Quoting Adam Tauno Williams : > > > On Sun, 2014-12-28 at 10:20 +0100, Marcus Schopen wrote: > >> does sieve vacation understand a start and end date? Something like this > >> does not work: > >> --- > >> require ["date", "relational",

Re: sieve vacation with start and end date

2014-12-30 Thread ktm
Quoting Adam Tauno Williams : > On Sun, 2014-12-28 at 10:20 +0100, Marcus Schopen wrote: >> does sieve vacation understand a start and end date? Something like this >> does not work: >> --- >> require ["date", "relational", "vacation"]; >> if allof(currentdate :value "ge" "date" "2007-06-30",

Re: sieve vacation with start and end date

2014-12-30 Thread Adam Tauno Williams
On Tue, 2014-12-30 at 08:39 -0500, Adam Tauno Williams wrote: > On Sun, 2014-12-28 at 10:20 +0100, Marcus Schopen wrote: > > does sieve vacation understand a start and end date? Something like this > > does not work: > > --- > > require ["date", "relational", "vacation"]; > > if allof(current

Re: sieve vacation with start and end date

2014-12-30 Thread Adam Tauno Williams
On Sun, 2014-12-28 at 10:20 +0100, Marcus Schopen wrote: > does sieve vacation understand a start and end date? Something like this > does not work: > --- > require ["date", "relational", "vacation"]; > if allof(currentdate :value "ge" "date" "2007-06-30", > currentdate :value "le" "d

sieve vacation with start and end date

2014-12-28 Thread Marcus Schopen
Hi, does sieve vacation understand a start and end date? Something like this does not work: --- require ["date", "relational", "vacation"]; if allof(currentdate :value "ge" "date" "2007-06-30", currentdate :value "le" "date" "2007-07-07") { vacation :days 7 "I'm away during the firs