#16416: date template tag should support "o" format character -------------------------+--------------------------------- Reporter: CarstenF | Owner: nobody Type: New feature | Status: new Milestone: | Component: Template system Version: 1.3 | Severity: Normal Keywords: ISO 8601 | Triage Stage: Unreviewed Has patch: 0 | Easy pickings: 0 UI/UX: 0 | -------------------------+--------------------------------- The date template tag currently supports the "W" (ISO 8601 week number) format character, but not the complementing "o" (ISO 8601 year number machting the ISO week number) character.
Both are described at the documentation that the date template tag is referring to: http://de2.php.net/manual/en/function.date.php A workaround is possible with a custom template tag, returning the result of `datetime.strftime("%G")`. -- Ticket URL: <https://code.djangoproject.com/ticket/16416> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.