From 103fdd5e60b5b76c688835b3e4a6cff9578aa67f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 10 Apr 2023 20:11:26 +0300 Subject: [PATCH] long year -> short year --- classes/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/config.php b/classes/config.php index 950cf4db0..afdb7b8ef 100644 --- a/classes/config.php +++ b/classes/config.php @@ -331,7 +331,7 @@ class Config { $this->version["branch"] = getenv("CI_COMMIT_BRANCH"); $this->version["timestamp"] = strtotime(getenv("CI_COMMIT_TIMESTAMP")); - $this->version["version"] = sprintf("%s-%s", date("Y.m", $this->version["timestamp"]), getenv("CI_COMMIT_SHORT_SHA")); + $this->version["version"] = sprintf("%s-%s", date("y.m", $this->version["timestamp"]), getenv("CI_COMMIT_SHORT_SHA")); $this->version["commit"] = getenv("CI_COMMIT_SHORT_SHA"); $this->version["status"] = 0;