summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-25 14:51:13 +0300
committerAndrew Dolgov <[email protected]>2021-02-25 14:51:13 +0300
commitf137e64a135f4c5334c9ed57edc9193ae22fbe74 (patch)
tree875e29157032af311b02eca7e19c9c079dab20c8 /include/functions.php
parentc96172fa044d847fee237d966a6e75f8be5afa4d (diff)
get_version: pass int to strftime()
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
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;
}