djangosnippets.org: Latest snippets posted by McAnixhttp://djangosnippets.org/users/McAnix/2015-07-22T08:54:23.899048-05:00McAnixDatetime adjuster for Django Templates
2015-07-22T08:54:23.899048-05:00McAnixhttp://djangosnippets.org/snippets/10516/<p>The filter is <strong>specific to datetime objects</strong> and no allowance has been made to convert strings or epoch times. Also <strong>no type checking</strong> is performed so misuse will result in an error.</p>
<p>To use include the above snippet in a file called templatetags/customfilters.py or append to existing filters file then …</p>
Freely redistributable