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?
>
> 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...?
>
>
> Regards
> Tony
>
> On Wednesday, July 17, 2019 at 10:11:24 AM UTC+10, Damon Pritchett wrote:
>>
>> Hello all you helpful folks. 
>>
>> I'm having a little nuisance with a macro that I'm using which is shown 
>> below:
>>
>> \define date-str(date) 
>> <$list filter="[[$date$]splitbefore[-]]" variable=x >
>> <$list filter="[[$date$]removeprefix<x>splitbefore[-]removesuffix[-]]" 
>> variable=m>
>> <$list filter="[[data-months]getindex<m>]" variable="mname">
>> <$list filter="[[$date$]splitbefore[-]removesuffix[-]]" variable=y>
>> <$list filter="[[$date$]removeprefix<x>removeprefix<m>removeprefix[-]]" 
>> variable=d>
>> <<mname>> <<d>>, <<y>>
>> </$list>
>> </$list>
>> </$list>
>> </$list>
>> </$list>
>> \end
>>
>> The macro works great except that there is a space at the end of the 
>> final result that I can't figure out how to get rid of. Is this just a 
>> result of using a macro or is there a change I can make so that the 
>> trailing space isn't present?
>>
>> Many thanks in advance,
>>
>> Damon
>>
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/53e368d3-d908-47d9-a267-32b4dee171e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to