Added another time function - utc_time_sans_frac
This commit is contained in:
parent
95f2432129
commit
373668e1d3
@ -301,6 +301,10 @@ not_on_or_after = before
|
||||
valid = before
|
||||
|
||||
|
||||
def utc_time_sans_frac():
|
||||
return int("%d" % time.mktime(time.gmtime()))
|
||||
|
||||
|
||||
def later_than(after, before):
|
||||
""" True if then is later or equal to that """
|
||||
if isinstance(after, six.string_types):
|
||||
|
Loading…
Reference in New Issue
Block a user