From 76569b201817e4210d32b598e31200baab350243 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Wed, 29 May 2019 00:28:41 +0200 Subject: [PATCH] FIX: ensures post-small-action is using timezone to display dates --- .../javascripts/discourse/widgets/post-small-action.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/widgets/post-small-action.js.es6 b/app/assets/javascripts/discourse/widgets/post-small-action.js.es6 index e28658a7390..6e96e56628a 100644 --- a/app/assets/javascripts/discourse/widgets/post-small-action.js.es6 +++ b/app/assets/javascripts/discourse/widgets/post-small-action.js.es6 @@ -109,7 +109,7 @@ export default createWidget("post-small-action", { const description = actionDescriptionHtml( attrs.actionCode, - attrs.created_at, + new Date(attrs.created_at), attrs.actionCodeWho ); contents.push(new RawHtml({ html: `

${description}

` }));