We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f804663 + 8e97385 commit 97f243fCopy full SHA for 97f243f
test/datatype.test.js
@@ -55,7 +55,7 @@ describe('datatypes', function() {
55
});
56
57
it('should keep types when get read data from db', function(done) {
58
- var d = new Date, id;
+ var d = new Date('2015-01-01T12:00:00'), id;
59
60
Model.create({
61
str: 'hello', date: d, num: '3', bool: 1, list: ['test'], arr: [1, 'str'],
0 commit comments