Skip to content

Commit 6705e51

Browse files
committed
fix timestamp issue
1 parent 175c4ac commit 6705e51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/mastodon/mastodon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
}
130130

131131
const user = json.account.username + "@" + _converse.connection.domain;
132-
const time = dayjs(json.created_at).format('MMM DD YYYY HH:mm:ss');
132+
const time = dayjs(json.created_at).format('YYYY-MM-DDTHH:mm:ssZ');
133133
const msgId = json.id;
134134
const title = json.account.display_name.trim() == "" ? json.account.username : json.account.display_name;
135135
const avatar = json.account.avatar_static;

0 commit comments

Comments
 (0)