Browse Source

Fixed timezone caused wrong time display in recent updated problems

master
Menci 6 years ago
parent
commit
bd5112fc4f
  1. 1
      app.js

1
app.js

@ -131,6 +131,7 @@ global.syzoj = {
dialect: this.config.db.dialect, dialect: this.config.db.dialect,
storage: this.config.db.storage ? this.utils.resolvePath(this.config.db.storage) : null, storage: this.config.db.storage ? this.utils.resolvePath(this.config.db.storage) : null,
logging: syzoj.production ? false : syzoj.log, logging: syzoj.production ? false : syzoj.log,
timezone: require('moment')().format('Z'),
operatorsAliases: operatorsAliases operatorsAliases: operatorsAliases
}); });
global.Promise = Sequelize.Promise; global.Promise = Sequelize.Promise;

Loading…
Cancel
Save