This commit is contained in:
@@ -87,7 +87,7 @@ export default {
|
||||
},
|
||||
readonlyFormat() {
|
||||
return window.$gz.locale.utcDateToShortDateAndTimeLocalized(
|
||||
this.internalValue,
|
||||
this.value,
|
||||
this.timeZoneName,
|
||||
this.languageName,
|
||||
this.hour12
|
||||
@@ -95,34 +95,6 @@ export default {
|
||||
},
|
||||
updateValue() {
|
||||
let vm = this;
|
||||
|
||||
// let dateValue = vm.$refs.dateField.$refs.input.value;
|
||||
// let DatePortion = dateValue;
|
||||
// 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 timeValue = vm.$refs.timeField.$refs.input.value;
|
||||
// let TimePortion = timeValue;
|
||||
// if (!TimePortion) {
|
||||
// TimePortion = "00:00:00";
|
||||
// }
|
||||
|
||||
// let ret = window.$gz.locale.localTimeDateStringToUTC8601String(
|
||||
// DatePortion + "T" + TimePortion,
|
||||
// this.timeZoneName
|
||||
// );
|
||||
|
||||
let dateValue = vm.$refs.dateField.$refs.input.value;
|
||||
if (!dateValue) {
|
||||
let v = new Date();
|
||||
|
||||
Reference in New Issue
Block a user