Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Prettified Code!

gabekaec21688240d
diff --git a/webroot/js/utils/helpers.js b/webroot/js/utils/helpers.js
index f9fc9c1e56..ea385f7803 100644
--- a/webroot/js/utils/helpers.js
+++ b/webroot/js/utils/helpers.js
@@ -168,9 +168,9 @@ export function makeLastOnlineString(timestamp) {
}
let string = '';
const time = new Date(timestamp);
- const comparisonDate = new Date(time).setHours(0,0,0,0);
-
- if(comparisonDate == new Date().setHours(0,0,0,0)) {
+ const comparisonDate = new Date(time).setHours(0, 0, 0, 0);
+
+ if (comparisonDate == new Date().setHours(0, 0, 0, 0)) {
const atTime = time.toLocaleTimeString([], {
hour: '2-digit',
minute: '2-digit',