From b71692ed8b7b90523be947780609c664d4184d1f Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 4 Mar 2019 19:22:53 +0000 Subject: [PATCH] --- ayanova/src/components/gztimepicker.vue | 9 +++++++-- ayanova/src/views/inventory-widget-edit.vue | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) 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}}