FIX: keep date object (#9292)

This commit is contained in:
Joffrey JAFFEUX 2020-03-27 14:15:14 +01:00 committed by GitHub
parent 1b09a0cd17
commit eda8f319a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -32,7 +32,6 @@ export default Component.extend({
onChangeDate(date) {
if (this.onChange) {
date = new Date(this.date);
const year = date.getFullYear();
const month = date.getMonth();
const day = date.getDate();