Time unification
This commit is contained in:
@@ -676,7 +676,10 @@ async function setupSshTunnel() {
|
||||
password: process.env.PROD_DB_PASSWORD,
|
||||
database: process.env.PROD_DB_NAME,
|
||||
port: process.env.PROD_DB_PORT || 3306,
|
||||
timezone: 'Z'
|
||||
// DATETIME columns store Central wall-clock literals — return them as
|
||||
// strings; parse with shared/business-time parseMySql() if instants are
|
||||
// ever needed (see docs/TIME.md).
|
||||
dateStrings: true
|
||||
};
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
|
||||
Reference in New Issue
Block a user