mirror of https://github.com/peter4431/rq.git
add milliseconds into timestamps, fix #721
parent
19bc288378
commit
260fd84f51
@ -1,9 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import (absolute_import, division, print_function,
|
||||
unicode_literals)
|
||||
|
||||
from datetime import timedelta
|
||||
|
||||
|
||||
def strip_microseconds(date):
|
||||
return date - timedelta(microseconds=date.microsecond)
|
Loading…
Reference in New Issue