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/6f6c07a9-8b1b-4748-918d-08f2623e522d%40googlegroups.com.

Reply via email to