From ee93adb6622e64cea8e6fe73ebd502ab27491f09 Mon Sep 17 00:00:00 2001 From: SealabJaster Date: Tue, 10 Mar 2020 04:47:15 +0000 Subject: [PATCH] Year 1 is AD --- source/aim/deploy/triggers.d | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/aim/deploy/triggers.d b/source/aim/deploy/triggers.d index 85f0d6f..bb8b6e4 100644 --- a/source/aim/deploy/triggers.d +++ b/source/aim/deploy/triggers.d @@ -77,6 +77,12 @@ final class GithubAimDeployTrigger : IAimDeployTrigger this._deployConf = deployConf; this._githubConf = new AimCliConfig!Config(); this._githubConf.loadFromFile(PATH(DIR_GIT_IGNORE, "trigger_github_deployment.json")); + + this._githubConf.edit((scope ref conf) + { + if(conf.lastDeploymentTime.isAD) + conf.lastDeploymentTime = Clock.currTime(); + }); } override void onAddedToProject()