Merge pull request 'fix: Make statusModel `created_at` fields be ISO 8601 strings' (#9929) from fruye/calckey:53y-ago into develop

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9929
This commit is contained in:
Kainoa Kanter 2023-04-27 20:07:13 +00:00
commit 191dd98eb6
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ export function statusModel(
emojis: MastodonEntity.Emoji[],
content: string,
) {
const now = Math.floor(new Date().getTime() / 1000);
const now = new Date().toISOString();
return {
id: "9atm5frjhb",
uri: "https://http.cat/404", // ""