|
|
@ -62486,7 +62486,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, { |
|
|
|
this.textButton.setEnable(true); |
|
|
|
this.textButton.setEnable(true); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
var date = BI.DynamicDateHelper.getCalculation(this.dynamicPane.getValue()); |
|
|
|
var date = BI.DynamicDateHelper.getCalculation(this.dynamicPane.getValue()); |
|
|
|
date = BI.print(date, "%Y-%x-%e"); |
|
|
|
date = BI.print(date, "%Y-%X-%d"); |
|
|
|
this.textButton.setValue(date); |
|
|
|
this.textButton.setValue(date); |
|
|
|
this.textButton.setEnable(false); |
|
|
|
this.textButton.setEnable(false); |
|
|
|
} |
|
|
|
} |
|
|
@ -62593,7 +62593,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger |
|
|
|
var text = self._getText(value); |
|
|
|
var text = self._getText(value); |
|
|
|
var date = BI.getDate(); |
|
|
|
var date = BI.getDate(); |
|
|
|
date = BI.DynamicDateHelper.getCalculation(value); |
|
|
|
date = BI.DynamicDateHelper.getCalculation(value); |
|
|
|
var dateStr = BI.print(date, "%Y-%x-%e"); |
|
|
|
var dateStr = BI.print(date, "%Y-%X-%d"); |
|
|
|
return BI.isEmptyString(text) ? dateStr : (text + ":" + dateStr); |
|
|
|
return BI.isEmptyString(text) ? dateStr : (text + ":" + dateStr); |
|
|
|
case BI.DynamicDateCombo.Static: |
|
|
|
case BI.DynamicDateCombo.Static: |
|
|
|
default: |
|
|
|
default: |
|
|
@ -62703,7 +62703,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_setInnerValue: function (date) { |
|
|
|
_setInnerValue: function (date) { |
|
|
|
var dateStr = BI.print(date, "%Y-%X-%e"); |
|
|
|
var dateStr = BI.print(date, "%Y-%X-%d"); |
|
|
|
this.editor.setState(dateStr); |
|
|
|
this.editor.setState(dateStr); |
|
|
|
this.editor.setValue(dateStr); |
|
|
|
this.editor.setValue(dateStr); |
|
|
|
}, |
|
|
|
}, |
|
|
@ -63278,7 +63278,7 @@ BI.extend(BI.DynamicDateTimeCombo, { |
|
|
|
this.textButton.setEnable(true); |
|
|
|
this.textButton.setEnable(true); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
var date = BI.DynamicDateHelper.getCalculation(this.dynamicPane.getValue()); |
|
|
|
var date = BI.DynamicDateHelper.getCalculation(this.dynamicPane.getValue()); |
|
|
|
date = BI.print(date, "%Y-%x-%e"); |
|
|
|
date = BI.print(date, "%Y-%X-%d"); |
|
|
|
this.textButton.setValue(date); |
|
|
|
this.textButton.setValue(date); |
|
|
|
this.textButton.setEnable(false); |
|
|
|
this.textButton.setEnable(false); |
|
|
|
} |
|
|
|
} |
|
|
|