DATE_FORMAT = "d B Y"
in my project settings. If I try to run it like this, I get the following
TypeError:
The format for date objects may not contain time-related format specifiers
(found 'B')
However, it works with 'b'
Any clue why this is happening?
--
Ticket URL: <https://code.djangoproject.com/ticket/30492>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => invalid
Comment:
All allowed date format strings are described in
[https://docs.djangoproject.com/en/stable/ref/templates/builtins/#std
:templatefilter-date documentation].
--
Ticket URL: <https://code.djangoproject.com/ticket/30492#comment:1>