aboutsummaryrefslogtreecommitdiff
path: root/classes/Pref_Prefs.php
diff options
context:
space:
mode:
authorwn_ <invalid@email.com>2024-12-15 18:14:42 +0000
committerwn_ <invalid@email.com>2024-12-15 18:39:03 +0000
commitf9b2291c28e7036276134aac84ec456fbd297d30 (patch)
tree82299fdc13a4e0950126c0ec889d4a9e020748f6 /classes/Pref_Prefs.php
parent119c7f13dcb9b91368304e3affd0219108ec490f (diff)
Don't bother passing unused arguments to 'TimeHelper::make_local_datetime()'.
There's no point in passing '$long' unless '$no_smart_dt' is set to 'true'.
Diffstat (limited to 'classes/Pref_Prefs.php')
-rw-r--r--classes/Pref_Prefs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Pref_Prefs.php b/classes/Pref_Prefs.php
index 7d1c0e9eb..94c38c177 100644
--- a/classes/Pref_Prefs.php
+++ b/classes/Pref_Prefs.php
@@ -1520,10 +1520,10 @@ class Pref_Prefs extends Handler_Protected {
<?= htmlspecialchars($pass["title"]) ?>
</td>
<td class='text-muted'>
- <?= TimeHelper::make_local_datetime($pass['created'], false) ?>
+ <?= TimeHelper::make_local_datetime($pass['created']) ?>
</td>
<td class='text-muted'>
- <?= TimeHelper::make_local_datetime($pass['last_used'], false) ?>
+ <?= TimeHelper::make_local_datetime($pass['last_used']) ?>
</td>
</tr>
<?php } ?>