summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2024-12-16 04:39:54 +0000
committerAndrew Dolgov <fox@fakecake.org>2024-12-16 04:39:54 +0000
commit13804c4beb3b5299829e756130753cc21956df57 (patch)
tree82299fdc13a4e0950126c0ec889d4a9e020748f6 /include
parentd5b1258d294fb8b0e43344a9925a9202925fcb02 (diff)
parentf9b2291c28e7036276134aac84ec456fbd297d30 (diff)
Merge branch 'feature/smart_date_time_never' into 'master'
Consistently "smart display" the Unix epoch as "Never", clean up calls to `TimeHelper::make_local_datetime()` See merge request tt-rss/tt-rss!89
Diffstat (limited to 'include')
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 5e906a977..20c986265 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -253,7 +253,7 @@
}
/** @deprecated by TimeHelper::make_local_datetime() */
- function make_local_datetime(string $timestamp, bool $long, ?int $owner_uid = null, bool $no_smart_dt = false, bool $eta_min = false): string {
+ function make_local_datetime(string $timestamp, bool $long = false, ?int $owner_uid = null, bool $no_smart_dt = false, bool $eta_min = false): string {
return TimeHelper::make_local_datetime($timestamp, $long, $owner_uid, $no_smart_dt, $eta_min);
}