﻿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
3488	DateFormat should have a b() method	Gary Wilson <gary.wilson@…>	Adrian Holovaty	"The date-based generic views use `%b` as the default month formatter:
{{{
#!python
def archive_day(... month_format='%b' ...):
[snip]
        date = datetime.date(*time.strptime(year+month+day, '%Y'+month_format+day_format)[:3])
}}}

and in my template I would like to link to the previous/next day with something like:
{{{
<a href=""/log/{{ previous_day|date:""Y/b/d/"" }}"">Previous day</a>
}}}

but can't since `django.utils.dateformat.DateFormat` has no `b()` method.

Note that you could work around this using the `lower` template filter:
{{{
<a href=""/log/{{ previous_day|date:""Y/M/d/""|lower }}"">Previous day</a>
}}}

but having to work around this seems silly since `%b` is the default used in the generic views."		closed	Tools	dev		fixed			Design decision needed	1	0	0	0	0	0
