From 12cfe6a3fb3564a733ff94c2ab5b42798be86819 Mon Sep 17 00:00:00 2001 From: Emma Date: Mon, 24 Oct 2022 11:10:06 -0400 Subject: [PATCH] Convert Invidious comment publishText to locale (#2758) --- .../components/watch-video-comments/watch-video-comments.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/renderer/components/watch-video-comments/watch-video-comments.js b/src/renderer/components/watch-video-comments/watch-video-comments.js index 95a373c2..6ea0d94b 100644 --- a/src/renderer/components/watch-video-comments/watch-video-comments.js +++ b/src/renderer/components/watch-video-comments/watch-video-comments.js @@ -273,8 +273,9 @@ export default Vue.extend({ } comment.replies = [] - - comment.time = comment.publishedText + comment.time = toLocalePublicationString({ + publishText: comment.publishedText + }) return comment })