Hi,
I'm trying to run the following code which use a variable called 'target'
(that contains the current date) into a filter.
I've tested the todayfilter this way
\define now_val()
<$vars now_date=<<now YYYY-0MM-0DD>>>
<$vars target={{{ [<now_date>] }}}>
<<target>>
<$vars todayfilter="[get[task_date]compare:string:eg[<target>]]">
<table><tbody>
<tr><th>Date</th><th>Project</th><th>Task</th><th>Start</th><th>Stop</th></tr>
<tr>
<td> </td>
<td align="right">//Number of tiddlers//</td>
<td colspan="4">''<$count
filter="[regexp[db___]filter<todayfilter>]"/>''</td>
</tr>
<$list filter="[regexp[db___]!sort[task_start_time]filter<todayfilter>]">
<tr>
<td><$link><$view field="task_date"/></$link></td>
<td><$view field="tags"/></td>
<td><$view field="task_comment"/></td>
<td><$view field="task_start_time"/></td>
<td><$view field="task_end_time"/></td>
</tr>
</$list>
</tbody></table>
\end
<<now_val>>
--
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/2b1bbded-865b-41f4-a468-e0f8c4f9a5e5n%40googlegroups.com.