aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Event.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Event.svelte')
-rw-r--r--src/components/Event.svelte12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/Event.svelte b/src/components/Event.svelte
index d3a6c0af..640b9e68 100644
--- a/src/components/Event.svelte
+++ b/src/components/Event.svelte
@@ -14,12 +14,12 @@
return diff > d
? Math.round(diff / d) + "d"
: diff > h
- ? Math.round(diff / h) + "h"
- : diff > m
- ? Math.round(diff / m) + "m"
- : diff > 2
- ? diff + "s"
- : "now";
+ ? Math.round(diff / h) + "h"
+ : diff > m
+ ? Math.round(diff / m) + "m"
+ : diff > 2
+ ? diff + "s"
+ : "now";
};
let w;