diff --git a/setup.py b/setup.py index 8d00b115..82d4cee5 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( name='django-silk', - version='0.2', + version='0.2.1', packages=['silk'], include_package_data=True, license='MIT License', diff --git a/silk/templatetags/filters.py b/silk/templatetags/filters.py index 6b5c58b9..3a3bb2c2 100644 --- a/silk/templatetags/filters.py +++ b/silk/templatetags/filters.py @@ -47,7 +47,9 @@ def hash(h, key): def _process_microseconds(dt_strftime): - time, micro = dt_strftime.split('.') + splt = dt_strftime.split('.') + micro = splt[-1] + time = '.'.join(splt[0:-1]) micro = '%.3f' % float('0.' + micro) return time + micro[1:]