Browse Source

无JIRA任务 变量修改

es6
windy 4 years ago
parent
commit
dfad5345ab
  1. 2
      src/widget/dynamicdate/dynamicdate.popup.js

2
src/widget/dynamicdate/dynamicdate.popup.js

@ -171,7 +171,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
_setInnerValue: function () { _setInnerValue: function () {
if (this.dateTab.getSelect() === BI.DynamicDateCombo.Static) { if (this.dateTab.getSelect() === BI.DynamicDateCombo.Static) {
this.todayButton.setValue(BI.i18nText("BI-Multi_Date_Today")); this.todayButton.setValue(BI.i18nText("BI-Multi_Date_Today"));
this.textButton.setEnable(!this._checkTodayValid()); this.todayButton.setEnable(!this._checkTodayValid());
} else { } else {
var date = BI.DynamicDateHelper.getCalculation(this.dynamicPane.getValue()); var date = BI.DynamicDateHelper.getCalculation(this.dynamicPane.getValue());
date = BI.print(date, "%Y-%X-%d"); date = BI.print(date, "%Y-%X-%d");

Loading…
Cancel
Save