ember-cli-pickadate
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -46,6 +46,8 @@ import Ember from 'ember'; | ||
date.setYear(dateItem.year); | ||
date.setMonth(dateItem.month); | ||
date.setDate(dateItem.date); | ||
let newDate = new Date(date) | ||
newDate.setYear(dateItem.year); | ||
newDate.setMonth(dateItem.month); | ||
newDate.setDate(dateItem.date); | ||
this.set('date', newDate); | ||
}) | ||
}); |
@@ -37,4 +37,7 @@ import Ember from 'ember'; | ||
} | ||
date.setHours(dateItem.hour, dateItem.mins, 0, 0); | ||
let newDate = new Date(date); | ||
newDate.setHours(dateItem.hour, dateItem.mins, 0, 0); | ||
this.set('date', newDate); | ||
}) | ||
}); |
{ | ||
"name": "ember-cli-pickadate", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Ember components wrapping date and time pickers from Pickadate.js", | ||
@@ -5,0 +5,0 @@ "directories": { |
9919
18
148