#26275: defaultfilter `date` incorrectly formats
-------------------------------+------------------------------------
Reporter: mrigor | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version:
Severity: Normal | Keywords: 1.7.11 template filter
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+------------------------------------
On 1.7.11
{{{#!python
>>> from datetime import datetime
>>> from django.template.defaultfilters import date
>>> date(datetime(2016, 1, 1, 0), 'F o')
u'January 2015'
}}}
(instead of 'January 2016')
Settings:
{{{#!python
USE_TZ = False
TIME_ZONE = 'UTC'
LANGUAGE_CODE = 'en-us'
USE_I18N = True
USE_L10N = True
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26275>
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/049.0e66e858e8eac07ad5f078e50b950dfe%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.