Is <timestamp> a string with the timestamp, or a tiddler title? Perhaps 
post the entirety of your code as I don't quite understand what timestamp 
represents in each case.

On Wednesday, May 20, 2020 at 6:54:48 PM UTC+2, Tony K wrote:
>
> is it possible to manipulate a timestamp without the $view?
>
> I have timestamp saved in 2 formats 
>
> old format 0hh:0mm and new format <<now "[UTC]YYYY0MM0DD0hh0mm0ssXXX">>
>
> I am trying to make my code backward compatible so what I need is when I 
> read the time stamp from the tiddler and display it in both cases as 
> 0hh:0mm 
>
> I tried to work with length 
>
> \define long()
> <$view tiddler=<<timestamp>> field=title format=date template="0hh:0mm" />
> \end
>
>
> <$list filter="""[<timestamp>length[]match[9]then<timestamp>else<long>]""" 
> variable="type"/>
>
> but in that case it is being evaluated to the full text and not the value 
> :|
>
> thanks in advance 
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a06fd3f3-7054-4bae-9a19-b1912b442925%40googlegroups.com.

Reply via email to