#30492: "B" seen as time-related format specifier
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
RaduNicoara |
Type: Bug | Status: new
Component: Template | Version: 2.2
system | Keywords: date, datetime,
Severity: Normal | format, template
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
I have currently set
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.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/054.64152ff852a0269602f2a1e8ea18bc66%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.