Merge branch 'reflow'
[wolnelektury.git] / apps / api / helpers.py
diff --git a/apps/api/helpers.py b/apps/api/helpers.py
deleted file mode 100644 (file)
index f01522a..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-# -*- coding: utf-8 -*-
-
-from time import mktime
-
-def timestamp(dtime):
-    "converts a datetime.datetime object to a timestamp with fractional part"
-    return mktime(dtime.timetuple()) + dtime.microsecond / 1000000.0
-