From f137e64a135f4c5334c9ed57edc9193ae22fbe74 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 25 Feb 2021 14:51:13 +0300 Subject: [PATCH] get_version: pass int to strftime() --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index a26ea6fca..9b5661383 100644 --- a/include/functions.php +++ b/include/functions.php @@ -578,7 +578,7 @@ $git_commit = $commit; $git_timestamp = $timestamp; - $ttrss_version['version'] = strftime("%y.%m", $timestamp) . "-$commit"; + $ttrss_version['version'] = strftime("%y.%m", (int)$timestamp) . "-$commit"; $ttrss_version['commit'] = $commit; $ttrss_version['timestamp'] = $timestamp; }