Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 18 lines (9 sloc) 0.465 kb
efdeff2 @arjan doc: partial filter documentation
arjan authored
1 .. highlight:: django
b11a84e @kaos doc: rearranged ref docs to include the meta doc.
kaos authored
2 .. include:: meta-add_month.rst
34f54cc @kaos Added documentation stubs.
kaos authored
3
efdeff2 @arjan doc: partial filter documentation
arjan authored
4 Adds a month to a date. The value must be of the form ``{{Y,M,D},{H,I,S}}``.
5
6 For example::
7
8 {{ value|add_month }}
9
10 When the value is ``{{2008,12,10},{15,30,0}}``, the output is ``{{2009,1,10},{15,30,0}}``.
11
12 The filter has an optional argument which defines the number of months to add::
13
14 {{ value|add_month:3 }}
15
16 When the value is ``{{2008,12,10},{15,30,0}}``, the output is ``{{2009,3,10},{15,30,0}}``.
17
Something went wrong with that request. Please try again.