Skip to content

Commit

Permalink
Changed default release date format in DockerContainerDumper
Browse files Browse the repository at this point in the history
  • Loading branch information
jal347 committed Jul 26, 2023
1 parent 2c23e0d commit 7bb06da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion biothings/hub/dataload/dumper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2105,7 +2105,7 @@ def set_release(self):
else:
self.logger.info("get_version_cmd is not defined. Fallback to timestamp as the release.")
# if _release is None, use timestamp as the release
self.release = _release or datetime.now().strftime("%Y%m%d%H%M%S")
self.release = _release or datetime.now(datetime.timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ")

def get_remote_lastmodified(self, remote_file):
"""get the last modified time of the remote file within the container using stat command"""
Expand Down

0 comments on commit 7bb06da

Please sign in to comment.