This commit is contained in:
@@ -26,8 +26,13 @@ export default {
|
||||
input: 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());
|
||||
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();
|
||||
console.log("gztimepicker, on input, COMBINED (ISODATE CONVERTED)is: " + combined);
|
||||
|
||||
that.$emit("input",theNewDate);
|
||||
|
||||
},
|
||||
"click:minute": function(time) {
|
||||
|
||||
@@ -49,10 +49,10 @@
|
||||
></v-text-field>
|
||||
</v-flex>
|
||||
|
||||
<v-flex xs12 sm6 lg4 xl3 px-2>
|
||||
<!-- <v-flex xs12 sm6 lg4 xl3 px-2>
|
||||
<div>{{obj.startDate}}</div>
|
||||
<gz-date-picker label="TESTStartDate" v-model="obj.startDate"></gz-date-picker>
|
||||
</v-flex>
|
||||
</v-flex> -->
|
||||
|
||||
<v-flex xs12 sm6 lg4 xl3 px-2>
|
||||
<div>{{obj.startDate}}</div>
|
||||
|
||||
Reference in New Issue
Block a user