1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 01:55:55 +00:00

get_version: pass int to strftime()

This commit is contained in:
Andrew Dolgov
2021-02-25 14:51:13 +03:00
parent c96172fa04
commit f137e64a13

View File

@@ -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;
}