From 39b455caf09c0318f8d17fbf5fc815b72733236f Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Wed, 20 Sep 2023 14:49:54 +0100 Subject: [PATCH] refactor: call toString on numeric timestamp --- OliverBooth/Pages/Blog/Article.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OliverBooth/Pages/Blog/Article.cshtml b/OliverBooth/Pages/Blog/Article.cshtml index 78889c6..3432113 100644 --- a/OliverBooth/Pages/Blog/Article.cshtml +++ b/OliverBooth/Pages/Blog/Article.cshtml @@ -122,7 +122,7 @@ s.async = true; s.type = "text/javascript"; s.src = "https://oliverbooth-dev.disqus.com/embed.js"; - s.setAttribute("data-timestamp", + new Date()); + s.setAttribute("data-timestamp", (+ new Date()).toString()); (d.head || d.body).appendChild(s); })();