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:
commit
191dd98eb6
@ -388,7 +388,7 @@ export function statusModel(
|
|||||||
emojis: MastodonEntity.Emoji[],
|
emojis: MastodonEntity.Emoji[],
|
||||||
content: string,
|
content: string,
|
||||||
) {
|
) {
|
||||||
const now = Math.floor(new Date().getTime() / 1000);
|
const now = new Date().toISOString();
|
||||||
return {
|
return {
|
||||||
id: "9atm5frjhb",
|
id: "9atm5frjhb",
|
||||||
uri: "https://http.cat/404", // ""
|
uri: "https://http.cat/404", // ""
|
||||||
|
Loading…
Reference in New Issue
Block a user