Comparing version 4.0.1 to 4.0.2
@@ -0,1 +1,4 @@ | ||
### v4.0.2 | ||
- Fix timezone bug in sqlite ([822](../../pull/822)] | ||
### v4.0.1 | ||
@@ -2,0 +5,0 @@ - Fix undefinedAsync accessor methods. |
@@ -276,4 +276,2 @@ var _ = require("lodash"); | ||
// shift local to UTC | ||
value.setTime(value.getTime() - (value.getTimezoneOffset() * 60000)); | ||
if (tz !== false) { | ||
@@ -283,2 +281,5 @@ // shift UTC to timezone | ||
} | ||
}else { | ||
// shift local to UTC | ||
value.setTime(value.getTime() + (value.getTimezoneOffset() * 60000)); | ||
} | ||
@@ -285,0 +286,0 @@ } |
@@ -15,3 +15,3 @@ { | ||
], | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"license": "MIT", | ||
@@ -18,0 +18,0 @@ "homepage": "http://dresende.github.io/node-orm2", |
## Object Relational Mapping | ||
[![Build Status](https://api.travis-ci.org/dresende/node-orm2.svg?branch=master)](http://travis-ci.org/dresende/node-orm2) | ||
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fdresende%2Fnode-orm2.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fdresende%2Fnode-orm2?ref=badge_shield) | ||
[![](https://badge.fury.io/js/orm.svg)](https://npmjs.org/package/orm) | ||
@@ -1150,1 +1151,5 @@ [![](https://gemnasium.com/dresende/node-orm2.svg)](https://gemnasium.com/dresende/node-orm2) | ||
See [the documentation for creating adapters](./Adapters.md) for more details. | ||
## License | ||
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fdresende%2Fnode-orm2.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fdresende%2Fnode-orm2?ref=badge_large) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1154
270485
60
6210