mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-25 21:16:47 +00:00
Build frontend
This commit is contained in:
@@ -87,6 +87,9 @@ export default {
|
||||
},
|
||||
set(value) {
|
||||
// bit of a hack but meh.
|
||||
if('' === value) {
|
||||
|
||||
}
|
||||
let newDate = new Date(value);
|
||||
let current = new Date(this.date.getTime());
|
||||
current.setFullYear(newDate.getFullYear());
|
||||
@@ -103,6 +106,13 @@ export default {
|
||||
return '';
|
||||
},
|
||||
set(value) {
|
||||
if('' === value) {
|
||||
this.date.setHours(0);
|
||||
this.date.setMinutes(0);
|
||||
this.date.setSeconds(0);
|
||||
this.setDate({date: this.date});
|
||||
return;
|
||||
}
|
||||
// bit of a hack but meh.
|
||||
let current = new Date(this.date.getTime());
|
||||
let parts = value.split(':');
|
||||
|
||||
Reference in New Issue
Block a user