custom filters

Willem D'Haeseleer's Avatar

Willem D'Haeseleer

23 Feb, 2014 11:07 PM

In the html_invoice template I see this filter:

({{ invoice.due_date | format_date_in_english }})

Is there a way that I can define a "format_date_in_dutch " filter my self ?

  1. Support Staff 1 Posted by Seth B on 23 Feb, 2014 11:18 PM

    Seth B's Avatar

    Unfortunately that's not a possibility at this time. We have to do that at the source code level.

    --
    seth @ subimage llc
    http://subimage.com

  2. 2 Posted by Willem D'H... on 23 Feb, 2014 11:20 PM

    Willem D'Haeseleer's Avatar

    Do you accept pull requests?

  3. Support Staff 3 Posted by Seth B on 23 Feb, 2014 11:25 PM

    Seth B's Avatar

    Willem, I wish…but there are no parts of Cashboard that are open source at this time. :)

    --
    seth @ subimage llc
    http://subimage.com

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac