long year -> short year

This commit is contained in:
Andrew Dolgov 2023-04-10 20:11:26 +03:00
parent 7a54154d45
commit 103fdd5e60
No known key found for this signature in database
GPG Key ID: 1A56B4FA25D4AF2A
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ class Config {
$this->version["branch"] = getenv("CI_COMMIT_BRANCH"); $this->version["branch"] = getenv("CI_COMMIT_BRANCH");
$this->version["timestamp"] = strtotime(getenv("CI_COMMIT_TIMESTAMP")); $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["commit"] = getenv("CI_COMMIT_SHORT_SHA");
$this->version["status"] = 0; $this->version["status"] = 0;