diff options
| author | Felix Eckhofer <felix@eckhofer.com> | 2022-02-03 16:13:01 +0100 |
|---|---|---|
| committer | Felix Eckhofer <felix@eckhofer.com> | 2022-02-03 16:13:01 +0100 |
| commit | cc30198b3db8b118e381d0a1d3c5131d21c23449 (patch) | |
| tree | a153ad3b14655538110a0a17e0434e97290a0659 /classes/config.php | |
| parent | 4e35c44add23791d6dc886bf71b325948e55b61a (diff) | |
Replace deprecated `strftime`
Diffstat (limited to 'classes/config.php')
| -rw-r--r-- | classes/config.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/config.php b/classes/config.php index 2c78b908d..2f151566f 100644 --- a/classes/config.php +++ b/classes/config.php @@ -359,7 +359,7 @@ class Config { if ($check == "version") { - $rv["version"] = strftime("%y.%m", (int)$timestamp) . "-$commit"; + $rv["version"] = date("y.m", (int)$timestamp) . "-$commit"; $rv["commit"] = $commit; $rv["timestamp"] = $timestamp; |