diff --git a/ayanova/src/components/gztimepicker.vue b/ayanova/src/components/gztimepicker.vue index 4b89b7d2..f14b3381 100644 --- a/ayanova/src/components/gztimepicker.vue +++ b/ayanova/src/components/gztimepicker.vue @@ -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) { diff --git a/ayanova/src/views/inventory-widget-edit.vue b/ayanova/src/views/inventory-widget-edit.vue index 2e052e0d..24966849 100644 --- a/ayanova/src/views/inventory-widget-edit.vue +++ b/ayanova/src/views/inventory-widget-edit.vue @@ -49,10 +49,10 @@ > - +
{{obj.startDate}}