Skip to content

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

Typo

Ahmad Karlamed0119a946c0
diff --git a/webroot/js/utils/chat.js b/webroot/js/utils/chat.js
index 60a43be5a4..e09bbdd48a 100644
--- a/webroot/js/utils/chat.js
+++ b/webroot/js/utils/chat.js
@@ -283,7 +283,7 @@ export function formatTimestamp(sentAt) {
sentAt = new Date(sentAt);
let diffInDays = ((new Date()) - sentAt) / (24 * 3600 * 1000);
- if (diffInDays >= -1) {
+ if (diffInDays >= 1) {
return `${sentAt.toLocaleDateString('en-US', {dateStyle: 'medium'})} at ` +
sentAt.toLocaleTimeString();
}