summaryrefslogtreecommitdiff
path: root/app/Helper/Dt.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Helper/Dt.php')
-rw-r--r--app/Helper/Dt.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/Helper/Dt.php b/app/Helper/Dt.php
index e717a4c0..78002b1b 100644
--- a/app/Helper/Dt.php
+++ b/app/Helper/Dt.php
@@ -52,11 +52,9 @@ class Dt extends \Kanboard\Core\Base
}
if ($diff < 1200) {
return t('<30m');
- }
- else if ($diff < 3600) {
+ } elseif ($diff < 3600) {
return t('<1h');
- }
- else if ($diff < 86400) {
+ } elseif ($diff < 86400) {
return '~'.t('%dh', $diff / 3600);
}