Use time formatter to respect timezone instead of GMT (#354)

This commit is contained in:
lowlighter committed 2021-06-17 18:26:25 +02:00
1 parent 2afece0f84
commit 2bf5fa925c
1 file changed
+1 -1
+1 -1
View File
@@ -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().toGMTString().replace(/GMT$/g, "").trim()
generated:imports.format.date(new Date(), {dateStyle:"short", timeStyle:"short"})
}
//Debug flags