﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
23914	Allow the {% now %} tag to store its output in the context	Baptiste Mispelon	Baptiste Mispelon	"I hit this issue when trying to use the value of the current year inside a translated string.

Normally, you'd do something like this:
{{{
{% blocktrans %}Current year: {% now 'Y' %}{% endblocktrans %}
}}}

But this doesn't work because `blocktrans` doesn't allow other tags inside.

So I propose adding the `as varname` syntax to `{% now %}` so you can do something like this:
{{{
{% now 'Y' as current_year %}
{% blocktrans %}Current year: {{ current_year }}{% endblocktrans %}
}}}"	New feature	closed	Template system	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
