fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
--- a/
apps/api/helpers.py
+++ /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
-