Correct Timezone in Anime Airing

This commit is contained in:
Dragon Fire
2020-04-18 19:19:53 -04:00
parent 7fb83ca92e
commit 09a0be1502
+2 -2
View File
@@ -62,8 +62,8 @@ module.exports = class AnimeAiringCommand extends Command {
.post('https://graphql.anilist.co/')
.send({
variables: {
greater: Number.parseInt(today().getTime() / 1000, 10),
lower: Number.parseInt(tomorrow().getTime() / 1000, 10)
greater: Number.parseInt(today(9).getTime() / 1000, 10),
lower: Number.parseInt(tomorrow(9).getTime() / 1000, 10)
},
query: airingGraphQL
});