Skip to content

andrewp-as-is/django-timedelta.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

$ [sudo] pip install django-timedelta
settings.py
INSTALLED_APPS+=['django_timedelta']

Examples

{% load timedelta %}

{% if started_at and completed_at %}
    {% timedelta completed_at started_at %}
    {% timedelta completed_at started_at 3 %}
{% endif %}
0:00:42.123456
{% timedelta completed_at started_at 3 %}
0:00:42.123

readme42.com

About

django timedelta template tag

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages