Remove date module, as it has been merged into hierarchy

This commit is contained in:
Eric Torres 2019-03-13 01:55:49 -07:00
parent fd36d1d22f
commit 4393e282ab

View File

@ -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())