fixed what ever calc did here, masto app didnt

This commit is contained in:
CutestNekoAqua 2023-02-23 16:32:21 +01:00
parent 3281b194e4
commit 37d6039c1e
1 changed files with 3 additions and 3 deletions

View File

@ -88,8 +88,8 @@ export async function getInstance(response: Entity.Instance) {
bot: true, bot: true,
discoverable: false, discoverable: false,
group: false, group: false,
created_at: Math.floor(new Date().getTime() / 1000), created_at: new Date().toISOString(),
createdAt: Math.floor(new Date().getTime() / 1000), createdAt: new Date().toISOString(),
note: "Please refer to the original instance for the actual admin contact.", note: "Please refer to the original instance for the actual admin contact.",
url: "/", url: "/",
avatar: "/static-assets/badges/info.png", avatar: "/static-assets/badges/info.png",
@ -99,7 +99,7 @@ export async function getInstance(response: Entity.Instance) {
followers_count: -1, followers_count: -1,
following_count: 0, following_count: 0,
statuses_count: 0, statuses_count: 0,
last_status_at: Math.floor(new Date().getTime() / 1000), last_status_at: new Date().toISOString(),
noindex: true, noindex: true,
emojis: [], emojis: [],
fields: [], fields: [],