Thanks Mark. That did the trick.
Damon
On Tuesday, July 16, 2019 at 5:29:24 PM UTC-7, Mark S. wrote:
>
> Squeeze every bit of white space out of the macro after <>, like:
>
> \define date-str(date)
> <$list filter="[[$date$]splitbefore[-]]" variable=x >
> <$list filter="[[$date$]removeprefixsplit
My browser did not refresh the forum before I posted here, So I did not see
the additional posts.
Tony
On Wednesday, July 17, 2019 at 10:48:26 AM UTC+10, TonyM wrote:
>
> Damon,
>
> Could you provide some additional content to this so I can past into
> TiddlyWiki.com and see the error occuring?
Damon,
Could you provide some additional content to this so I can past into
TiddlyWiki.com and see the error occuring?
We can then fix it in place and share the fix.
eg
<$macrocall $name=date-str date={{!!modified}} >> />
and other variable settings, what is the dates original format etc...?
Squeeze every bit of white space out of the macro after <>, like:
\define date-str(date)
<$list filter="[[$date$]splitbefore[-]]" variable=x >
<$list filter="[[$date$]removeprefixsplitbefore[-]removesuffix[-]]"
variable=m>
<$list filter="[[data-months]getindex]" variable="mname">
<$list filter="[
For completeness, I should also show how I'm calling this macro:
The date of the event was <$macrocall $name="date-str" date={{!!mydate}}/>.
On Tuesday, July 16, 2019 at 5:11:24 PM UTC-7, Damon Pritchett wrote:
>
> Hello all you helpful folks.
>
> I'm having a little nuisance with a macro t
5 matches
Mail list logo