From 711b6707334a2bd76bbfb74177787b6d2bc098d0 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 10 Dec 2021 06:08:31 +0200 Subject: [PATCH] dsfsfd --- files/assets/js/comments+submission_listing.js | 4 +++- files/templates/comments.html | 2 +- files/templates/submission_listing.html | 2 +- files/templates/userpage.html | 2 ++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/files/assets/js/comments+submission_listing.js b/files/assets/js/comments+submission_listing.js index 903230aee..7ec87da44 100644 --- a/files/assets/js/comments+submission_listing.js +++ b/files/assets/js/comments+submission_listing.js @@ -5,7 +5,9 @@ function timestamp(str, ti) { function pinned_timestamp(id) { const el = document.getElementById(id) - const time = new Date(el.dataset.timestamp).toString() + console.log(el.dataset.time) + console.log(typeof(el.dataset.time)) + const time = new Date(el.dataset.timestamp) el.setAttribute("data-bs-original-title", `Pinned until ${time}`) } diff --git a/files/templates/comments.html b/files/templates/comments.html index cb0907200..12a190fa7 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -765,7 +765,7 @@ {% include "expanded_image_modal.html" %} - + - + \ No newline at end of file diff --git a/files/templates/userpage.html b/files/templates/userpage.html index 7ce49fcd3..20c987f0d 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -177,6 +177,7 @@ {% endif %}
+

 							
 							

@@ -460,6 +461,7 @@
 
 					
 						

+