Show More
@@ -329,7 +329,7 b' def date(context, mapping, args):' | |||||
329 | # i18n: "date" is a keyword |
|
329 | # i18n: "date" is a keyword | |
330 | raise error.ParseError(_("date expects one or two arguments")) |
|
330 | raise error.ParseError(_("date expects one or two arguments")) | |
331 |
|
331 | |||
332 |
date = arg |
|
332 | date = evalfuncarg(context, mapping, args[0]) | |
333 | fmt = None |
|
333 | fmt = None | |
334 | if len(args) == 2: |
|
334 | if len(args) == 2: | |
335 | fmt = stringify(args[1][0](context, mapping, args[1][1])) |
|
335 | fmt = stringify(args[1][0](context, mapping, args[1][1])) |
General Comments 0
You need to be logged in to leave comments.
Login now