diff options
author | Andrew Dolgov <[email protected]> | 2021-02-25 14:51:13 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-25 14:51:13 +0300 |
commit | f137e64a135f4c5334c9ed57edc9193ae22fbe74 (patch) | |
tree | 875e29157032af311b02eca7e19c9c079dab20c8 | |
parent | c96172fa044d847fee237d966a6e75f8be5afa4d (diff) |
get_version: pass int to strftime()
-rw-r--r-- | include/functions.php | 2 |
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; } |