Django
Here is a simple django template filter that will format a date according to the DATETIME_FORMAT variable in the settings file.
from django import template from settings import DATETIME_FORMAT from django.template.defaultfilters import date register …