summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-04-10 20:11:26 +0300
committerAndrew Dolgov <[email protected]>2023-04-10 20:11:26 +0300
commit103fdd5e60b5b76c688835b3e4a6cff9578aa67f (patch)
treecb61681d19cc5e552a4e53204c0b12beaf08d528
parent7a54154d4531fe34e7210ea435446a0f475b8656 (diff)
long year -> short year
-rw-r--r--classes/config.php2
1 files changed, 1 insertions, 1 deletions
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;