Hi,
This comes simply because the space between ftime and "%Y%m" is seen
as a separator when evaluation the condition.
You should try enclosing your expression with quotes:
(:if exists ’Profile-Data.{Members/Hosts$:{(ftime "%Y%m")}}’ :)
-D-
On Wed, Apr 1, 2015 at 1:07 PM, Criss Ittermann <[email protected]> wrote:
> I'm trying to figure out why this is returning false ("To be announced."):
>
> (:if exists Profile-Data.{Members/Hosts$:{(ftime "%Y%m")}} :)
> ...
> (:else:)
> To be announced.
> (:ifend:)
>
>
> When the following returns a fully functioning link to the correct page,
> which exists:
>
> [[Profile-Data.{Members/Hosts$:{(ftime "%Y%m")}}]]
>
>
> What am I doing wrong?
>
> Crisses
>
>
>
> _______________________________________________
> pmwiki-users mailing list
> [email protected]
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
--
Dominique
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users