mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 20:35:02 +00:00
Switch from node-mariasql to mysql2
Node-mariasql returned dates in an incorrect timezone, and the project doesn't seem to be actively maintained. Switching to mysql2 fixes the issue.
This commit is contained in:
parent
ef61eae2ec
commit
94c8e1cf43
4 changed files with 124 additions and 34 deletions
|
@ -8,7 +8,7 @@ process.on("unhandledRejection", (reason, p) => {
|
|||
|
||||
// Always use UTC
|
||||
// This is also set for the database in knexfile
|
||||
import * as moment from "moment-timezone";
|
||||
import moment from "moment-timezone";
|
||||
moment.tz.setDefault("UTC");
|
||||
|
||||
import { Client } from "eris";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue