Browse Source

Fixed timezone caused wrong time display in recent updated problems

pull/6/head
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,
storage: this.config.db.storage ? this.utils.resolvePath(this.config.db.storage) : null,
logging: syzoj.production ? false : syzoj.log,
timezone: require('moment')().format('Z'),
operatorsAliases: operatorsAliases
});
global.Promise = Sequelize.Promise;

Loading…
Cancel
Save