johnpaulett / django-durationfield

Temporary reusable Django application for adding a DurationField, until Django issue #2443 is resolved.
http://django-durationfield.readthedocs.org
67 stars 24 forks source link

Feature seconds/days precision support #21

Open alexhayes opened 9 years ago

alexhayes commented 9 years ago

I have to deal with a bunch of legacy databases which have durations stored as both seconds and days - they are appropriate values given the intention thus I don't think it should be expected the underlying data should change (it can't, they are legacy, closed source apps that can't be changed).

Thus, I've added support for days and seconds.

In the process I've also updated the tox.ini to support various other configurations (ie.. python 2.6, 3.3, 3.4 and pypy) and all tests are passing for all environments.