From cc30198b3db8b118e381d0a1d3c5131d21c23449 Mon Sep 17 00:00:00 2001 From: Felix Eckhofer Date: Thu, 3 Feb 2022 16:13:01 +0100 Subject: Replace deprecated `strftime` --- classes/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/config.php') diff --git a/classes/config.php b/classes/config.php index 2c78b908d..2f151566f 100644 --- a/classes/config.php +++ b/classes/config.php @@ -359,7 +359,7 @@ class Config { if ($check == "version") { - $rv["version"] = strftime("%y.%m", (int)$timestamp) . "-$commit"; + $rv["version"] = date("y.m", (int)$timestamp) . "-$commit"; $rv["commit"] = $commit; $rv["timestamp"] = $timestamp; -- cgit v1.2.3