mirror of
https://github.com/danbulant/ssps-bot
synced 2026-05-24 12:22:01 +00:00
nastavení správné časové zóny
This commit is contained in:
parent
0e19f9b52d
commit
09be34aa9b
1 changed files with 1 additions and 0 deletions
1
index.js
1
index.js
|
|
@ -7,6 +7,7 @@ const path = require("path");
|
||||||
const luxon = require("luxon");
|
const luxon = require("luxon");
|
||||||
|
|
||||||
luxon.Settings.defaultLocale = "cs";
|
luxon.Settings.defaultLocale = "cs";
|
||||||
|
luxon.Settings.defaultZone = new luxon.IANAZone("Europe/Prague");
|
||||||
|
|
||||||
const config = yaml.load(fs.readFileSync("./config.yml", { encoding: "utf-8" }));
|
const config = yaml.load(fs.readFileSync("./config.yml", { encoding: "utf-8" }));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue