|
|
@ -88374,7 +88374,7 @@ BI.DateTimeCombo = BI.inherit(BI.Single, { |
|
|
|
var date = BI.getDate(); |
|
|
|
var date = BI.getDate(); |
|
|
|
this.storeValue = BI.isNotNull(opts.value) ? opts.value : { |
|
|
|
this.storeValue = BI.isNotNull(opts.value) ? opts.value : { |
|
|
|
year: date.getFullYear(), |
|
|
|
year: date.getFullYear(), |
|
|
|
month: date.getMonth(), |
|
|
|
month: date.getMonth() + 1, |
|
|
|
day: date.getDate(), |
|
|
|
day: date.getDate(), |
|
|
|
hour: date.getHours(), |
|
|
|
hour: date.getHours(), |
|
|
|
minute: date.getMinutes(), |
|
|
|
minute: date.getMinutes(), |
|
|
@ -88616,7 +88616,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, { |
|
|
|
date = BI.getDate(); |
|
|
|
date = BI.getDate(); |
|
|
|
this.dateCombo.setValue({ |
|
|
|
this.dateCombo.setValue({ |
|
|
|
year: date.getFullYear(), |
|
|
|
year: date.getFullYear(), |
|
|
|
month: date.getMonth(), |
|
|
|
month: date.getMonth() + 1, |
|
|
|
day: date.getDate() |
|
|
|
day: date.getDate() |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.hour.setValue(date.getHours()); |
|
|
|
this.hour.setValue(date.getHours()); |
|
|
@ -88807,7 +88807,7 @@ BI.DateTimeTrigger = BI.inherit(BI.Trigger, { |
|
|
|
value = BI.getDate(); |
|
|
|
value = BI.getDate(); |
|
|
|
dateStr = value.print("%Y-%X-%d %H:%M:%S"); |
|
|
|
dateStr = value.print("%Y-%X-%d %H:%M:%S"); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
var date = BI.getDate(value.year, value.month, value.day, value.hour, value.minute, value.second); |
|
|
|
var date = BI.getDate(value.year, value.month - 1, value.day, value.hour, value.minute, value.second); |
|
|
|
dateStr = date.print("%Y-%X-%d %H:%M:%S"); |
|
|
|
dateStr = date.print("%Y-%X-%d %H:%M:%S"); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|