Are there a javascript template engine which supports formatters?
That is, I can tell the template engine that it should be using a custom formatter (with a clean syntax).
Something like (borrowing jsrender syntax):
<td>{{:DateOfBirth, 'PrettyDate'}}</td>
Where 'PrettyDate' is mapped to a function which formats the date in a certain way.
Mustache supports lambda’s, you can get the same effect.
http://mustache.github.com/mustache.5.html
https://github.com/janl/mustache.js