From 3988028256f2d0d03fb49f3f7f4a6e4a22bbd3ab Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Fri, 19 Apr 2019 16:21:59 +0200 Subject: [PATCH] story-content: Fixed comment fictional dates being affected by browser timezone. --- marko/page/story-content/components/comment/index.marko | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/marko/page/story-content/components/comment/index.marko b/marko/page/story-content/components/comment/index.marko index 39ccbfb..21c01cc 100644 --- a/marko/page/story-content/components/comment/index.marko +++ b/marko/page/story-content/components/comment/index.marko @@ -47,7 +47,9 @@ import moment from "moment" Date: - ${moment(input.comment.fictionalDate).format("MMM D, YYYY")} + + + @@ -69,7 +71,7 @@ import moment from "moment" [ - + < @@ -108,7 +110,7 @@ import moment from "moment" - +