Hello,

Kornel Lesiński <kor...@...> writes:
> > and write a custom modifier like
> >
> > function phptal_tales_myDate($src, $nothrow)
> > {
> >     $value = ???
> 
> $value = phptal_tales($src,$nothrow);
> 
> >     $result = date('o-m-d H:i:s', $value);
> >     return '"' . $result . '"';
> > }

Hmm.. doesn't work for me.
After the phptal_tales() call, $value has the value:

(string:31) phptal_path($ctx->item, 'date')


-- 
Regards,
Igor



_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to