mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
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(
|
||||
attrs.actionCode,
|
||||
attrs.created_at,
|
||||
new Date(attrs.created_at),
|
||||
attrs.actionCodeWho
|
||||
);
|
||||
contents.push(new RawHtml({ html: `<p>${description}</p>` }));
|
||||
|
Loading…
x
Reference in New Issue
Block a user