This commit is contained in:
@@ -102,42 +102,10 @@ export default {
|
||||
|
||||
let ret = window.$gz.locale.localTimeDateStringToUTC8601String(
|
||||
dateValue + "T" + timeValue,
|
||||
this.timeZoneName
|
||||
vm.timeZoneName
|
||||
);
|
||||
this.$emit("input", ret);
|
||||
vm.$emit("input", ret);
|
||||
}
|
||||
}
|
||||
// timeControlFormat() {
|
||||
// //hh:mm:ss in 24 hour format
|
||||
// return window.$gz.locale.utcDateStringToLocal8601TimeOnlyString(
|
||||
// this.internalValue,
|
||||
// this.timeZoneName
|
||||
// );
|
||||
// },
|
||||
// handleTimeInput(value) {
|
||||
// let DatePortion = window.$gz.locale.utcDateStringToLocal8601DateOnlyString(
|
||||
// this.internalValue,
|
||||
// this.timeZoneName
|
||||
// );
|
||||
// if (!DatePortion) {
|
||||
// let v = new Date();
|
||||
// let fullYear = v.getFullYear();
|
||||
// let fullMonth = v.getMonth() + 1;
|
||||
// if (fullMonth < 10) {
|
||||
// fullMonth = "0" + fullMonth.toString();
|
||||
// }
|
||||
// let fullDay = v.getDate();
|
||||
// if (fullDay < 10) {
|
||||
// fullDay = "0" + fullDay.toString();
|
||||
// }
|
||||
// DatePortion = fullYear + "-" + fullMonth + "-" + fullDay;
|
||||
// }
|
||||
// let newValue = window.$gz.locale.localTimeDateStringToUTC8601String(
|
||||
// DatePortion + "T" + value,
|
||||
// this.timeZoneName
|
||||
// );
|
||||
// this.$emit("input", newValue);
|
||||
// }
|
||||
// }
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user