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
1 changed files with 1 additions and 1 deletions

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