|
@@ -310,7 +310,7 @@
|
|
|
|
|
|
this.date.setFullYear(year);
|
|
this.date.setFullYear(year);
|
|
if (this.selectionMode === 'year') {
|
|
if (this.selectionMode === 'year') {
|
|
- this.$emit('pick', new Date(year));
|
|
|
|
|
|
+ this.$emit('pick', new Date(year, 0, 1));
|
|
} else {
|
|
} else {
|
|
this.currentView = 'month';
|
|
this.currentView = 'month';
|
|
}
|
|
}
|