Re: now macro with dateFormat filter
"Hannes Wallnoefer" <[email protected]> Fri, 1 Feb 2008 13:25:17 +0100
| Newsgroups | gmane.comp.java.helma.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Walter, 2008/2/1, Walter Krivanek, VividVisions <[email protected]>: > I've update my local copy of dateFormat_filter to create Date objects > if input is a string. Actually, you can pass a format string to now_macro: <% now format="yyyy" %> If do want the now macro with a filter chain, could just implement a macro that returns a raw date instead of a formatted string: function nowdate_macro() { return new Date(); } <% nowdate | ... %> hannes