summaryrefslogtreecommitdiff
path: root/classes/config.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-12-01 13:37:35 +0300
committerAndrew Dolgov <[email protected]>2021-12-01 13:37:35 +0300
commita201e10ee024f03fb6aad0ec1069cc4da72a9ac5 (patch)
tree1d0c5549390541694721e5d85e35f509feccc4ee /classes/config.php
parentaaebe55456b34b878b7bcccef021af7f2c8d3a75 (diff)
Revert "various fixes vor php 8.1 compatibility"
This reverts commit 14027ae04e4aee6cf1c3a4ff9a390ec266c0fb09.
Diffstat (limited to 'classes/config.php')
-rw-r--r--classes/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/config.php b/classes/config.php
index 4c8d79ac8..95e2dd3ac 100644
--- a/classes/config.php
+++ b/classes/config.php
@@ -359,7 +359,7 @@ class Config {
if ($check == "version") {
- $rv["version"] = date("%y.%m", (int)$timestamp) . "-$commit";
+ $rv["version"] = strftime("%y.%m", (int)$timestamp) . "-$commit";
$rv["commit"] = $commit;
$rv["timestamp"] = $timestamp;