Oh you are right. Time gets confused if you give it time stamps.

It should be

if="time {info.wikiblog::{+p}} from='-1 week' to='now' "

I fixed the condition though, so if a timestamp is used it will give
the correct value.

Cheers,
Dan


2009/3/26 Linly <[email protected]>:
>
> Hi Dan,
>
> After testing, I got "if between" working, but "if time" failed.
>
> Working:
>
> if="between { {now}-86400*7 } {info.wikiblog::{+p}} {now}"
> if="less {info.wikiblog::{+p}} {now} && more {info.wikiblog::{+p}}
> { {now}-86400*7 }"
>
> Failed:
>
> if="time {info.wikiblog::{+p}} from={ {now}-86400*7 } to={now}"
>
> Cheers, linly
>
> On 3月26日, 下午8時07分, The Editor <[email protected]> wrote:
>> 2009/3/26 Linly <[email protected]>:
>>
>>
>>
>> > Is it possible to set it between last seven days? some thing like
>>
>> > "between '{{now}-7 days}' {info.wikiblog::{+p}} {now}"
>>
>> Use one of the two examples I gave.  They were both  -7 days
>>
>> {{now}-7 days} will mean nothing to boltwire.
>>
>> Cheers,
>> Dan
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to