﻿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
31006	Document how to escape a date/time format character for the |date and |time filters.	Baptiste Mispelon	Ryan Cheley	"The current documentation for the [https://docs.djangoproject.com/en/dev/ref/templates/builtins/#std:templatefilter-date date] and [https://docs.djangoproject.com/en/dev/ref/templates/builtins/#std:templatefilter-time time] filters doesn't explain how to escape a format character.

It's only documented as part of the [https://docs.djangoproject.com/en/dev/ref/templates/builtins/#std:templatetag-now now] template tag:

> Note that you can backslash-escape a format string if you want to use the “raw” value. In this example, both “o” and “f” are backslash-escaped, because otherwise each is a format string that displays the year and the time, respectively:
> It is the {% now ""jS \o\f F"" %}
> This would display as “It is the 4th of September”.

Historically, the big table with all the available format characters used to be next to the documentation for `{% now %}` but it was moved at some point (to be with the documentation for `|date`.

I would suggest moving the paragraph about backslash escape under the table of all formats instead (or least duplicating it there too)."	Cleanup/optimization	closed	Documentation	dev	Normal	fixed			Accepted	1	0	0	0	1	0
