git://repos.xcallymotion.com
/
motion.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Built motion from commit d127c62.|0.0.151
[motion.git]
/
server
/
models
/
index.js
diff --git
a/server/models/index.js
b/server/models/index.js
index
b96976e
..
67b8bff
100644
(file)
--- a/
server/models/index.js
+++ b/
server/models/index.js
@@
-14,6
+14,10
@@
Sequelize.Promise.config({
}
});
+if (config.timezone && config.timezone == 'xcally-motion-timezone') {
+ config.timezone = '';
+}
+
var sequelize = new Sequelize(config.db.database, config.db.username, config.db.password, {
host: config.db.host,
dialect: 'mysql',