From 31315ad3a44d76b143c8456e94d895c6ecdc4aff Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Wed, 9 Jun 2021 19:10:12 +0200 Subject: [PATCH] Fix footer timezone date (#354) --- source/plugins/core/index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/plugins/core/index.mjs b/source/plugins/core/index.mjs index 80e0622f..e60e0cf3 100644 --- a/source/plugins/core/index.mjs +++ b/source/plugins/core/index.mjs @@ -112,7 +112,7 @@ export default async function({login, q}, {conf, data, rest, graphql, plugins, q data.meta = { version:conf.package.version, author:conf.package.author, - generated:new Date(new Date().getTime() + (data.config.timezone?.offset ?? 0)).toGMTString().replace(/GMT$/g, "").trim() + generated:new Date().toGMTString().replace(/GMT$/g, "").trim() } //Debug flags