mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-08 18:44:06 +00:00
Do not use deprecated datetime.utcnow()
This commit is contained in:
@@ -17,7 +17,7 @@ from tagging.manifests import ManifestHeader, ManifestInterface
|
||||
LOGGER = logging.getLogger(__name__)
|
||||
|
||||
# We use a manifest creation timestamp, which happens right after a build
|
||||
BUILD_TIMESTAMP = datetime.datetime.utcnow().isoformat()[:-7] + "Z"
|
||||
BUILD_TIMESTAMP = datetime.datetime.now(datetime.UTC).isoformat()[:-13] + "Z"
|
||||
MARKDOWN_LINE_BREAK = "<br />"
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user