FIX: ensures post-small-action is using timezone to display dates

This commit is contained in:
Joffrey JAFFEUX 2019-05-29 00:28:41 +02:00 committed by Guo Xiang Tan
parent 3a1d99577e
commit 76569b2018
1 changed files with 1 additions and 1 deletions

View File

@ -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: `<p>${description}</p>` }));