Closed derrabauke closed 2 years ago
https://github.com/projectcaluma/ember-caluma/blob/d7d5c665ba6406f57fa0271657dce108fa82cf07/packages/core/addon/caluma-query/models/index.js#L17
there needs to be a check if this.raw[name] !== null, otherwise is will create a date object with new Date(null).valueOf() === 0
this.raw[name] !== null
new Date(null).valueOf() === 0
:tada: This issue has been resolved in version @projectcaluma/ember-core-v11.0.0-beta.5 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
https://github.com/projectcaluma/ember-caluma/blob/d7d5c665ba6406f57fa0271657dce108fa82cf07/packages/core/addon/caluma-query/models/index.js#L17
there needs to be a check if
this.raw[name] !== null
, otherwise is will create a date object withnew Date(null).valueOf() === 0