Remove date module, as it has been merged into hierarchy
This commit is contained in:
parent
fd36d1d22f
commit
4393e282ab
@ -1,12 +0,0 @@
|
||||
import datetime
|
||||
import os.path
|
||||
|
||||
def gen_datetime(*paths):
|
||||
"""Generate a path for a backup directory that contains
|
||||
the current date and time.
|
||||
|
||||
:param paths: paths to prepend to the result
|
||||
:type paths: str, bytes, or path-like object
|
||||
:returns: stuff
|
||||
"""
|
||||
return os.path.join(*paths, datetime.datetime.utcnow().isoformat())
|
Loading…
x
Reference in New Issue
Block a user