FIX: ensures post-small-action is using timezone to display dates
This commit is contained in:
parent
3a1d99577e
commit
76569b2018
|
@ -109,7 +109,7 @@ export default createWidget("post-small-action", {
|
||||||
|
|
||||||
const description = actionDescriptionHtml(
|
const description = actionDescriptionHtml(
|
||||||
attrs.actionCode,
|
attrs.actionCode,
|
||||||
attrs.created_at,
|
new Date(attrs.created_at),
|
||||||
attrs.actionCodeWho
|
attrs.actionCodeWho
|
||||||
);
|
);
|
||||||
contents.push(new RawHtml({ html: `<p>${description}</p>` }));
|
contents.push(new RawHtml({ html: `<p>${description}</p>` }));
|
||||||
|
|
Loading…
Reference in New Issue