diff --git a/deploy/deploy_git.py b/deploy/deploy_git.py index 6c31e41..e4afa99 100644 --- a/deploy/deploy_git.py +++ b/deploy/deploy_git.py @@ -22,7 +22,7 @@ dbargs['db'] = 'ywplatform' class DeployGit: def __init__(self, name): self.name = name - self.now = datetime.datetime.now().strftime("%Y%m%dH%M%S") + self.now = datetime.datetime.now().strftime("%Y%m%d%H%M%S") def run(self): sql = "select hosts,paths,user,url,pre_script,start_script from ops_deploy_git where name='{name}' and in_used=1;".format(