This commit is contained in:
@@ -29,18 +29,11 @@ export default {
|
||||
console.log("gztimepicker, on input, time is: " + time);
|
||||
var combined = that.value.substr(0, 11) + time;
|
||||
console.log("gztimepicker, on input, COMBINED (STRING) time is: " + combined);
|
||||
var theNewDate=new Date(combined).toISOString();
|
||||
var theNewDate=new Date(Date.UTC(combined)).toISOString();
|
||||
console.log("gztimepicker, on input, COMBINED (ISODATE CONVERTED)is: " + combined);
|
||||
|
||||
that.$emit("input",theNewDate);
|
||||
|
||||
},
|
||||
"click:minute": function(time) {
|
||||
// debugger;
|
||||
//Put back the time portion from before
|
||||
var combined = that.value.substr(0, 9) + time;
|
||||
that.$emit("input", new Date(combined).toISOString());
|
||||
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user