Browse Source

BI-18606

es6
windy 7 years ago
parent
commit
a2f03f1fa6
  1. 4
      dist/bundle.js
  2. 4
      dist/widget.js
  3. 2
      src/widget/dynamicdate/dynamicdate.popup.js
  4. 2
      src/widget/dynamicdatetime/dynamicdatetime.popup.js

4
dist/bundle.js vendored

@ -91081,7 +91081,7 @@ BI.shortcut("bi.dynamic_date_param_item", BI.DynamicDateParamItem);BI.DynamicDat
var date = BI.DynamicDateHelper.getCalculation(self.dynamicPane.getValue()); var date = BI.DynamicDateHelper.getCalculation(self.dynamicPane.getValue());
self.ymd.setValue({ self.ymd.setValue({
year: date.getFullYear(), year: date.getFullYear(),
month: date.getMonth(), month: date.getMonth() + 1,
day: date.getDate() day: date.getDate()
}); });
self._setInnerValue(); self._setInnerValue();
@ -91799,7 +91799,7 @@ BI.extend(BI.DynamicDateTimeCombo, {
var date = BI.DynamicDateHelper.getCalculation(self.dynamicPane.getValue()); var date = BI.DynamicDateHelper.getCalculation(self.dynamicPane.getValue());
self.ymd.setValue({ self.ymd.setValue({
year: date.getFullYear(), year: date.getFullYear(),
month: date.getMonth(), month: date.getMonth() + 1,
day: date.getDate() day: date.getDate()
}); });
self.timeSelect.setValue(); self.timeSelect.setValue();

4
dist/widget.js vendored

@ -3944,7 +3944,7 @@ BI.shortcut("bi.dynamic_date_param_item", BI.DynamicDateParamItem);BI.DynamicDat
var date = BI.DynamicDateHelper.getCalculation(self.dynamicPane.getValue()); var date = BI.DynamicDateHelper.getCalculation(self.dynamicPane.getValue());
self.ymd.setValue({ self.ymd.setValue({
year: date.getFullYear(), year: date.getFullYear(),
month: date.getMonth(), month: date.getMonth() + 1,
day: date.getDate() day: date.getDate()
}); });
self._setInnerValue(); self._setInnerValue();
@ -4662,7 +4662,7 @@ BI.extend(BI.DynamicDateTimeCombo, {
var date = BI.DynamicDateHelper.getCalculation(self.dynamicPane.getValue()); var date = BI.DynamicDateHelper.getCalculation(self.dynamicPane.getValue());
self.ymd.setValue({ self.ymd.setValue({
year: date.getFullYear(), year: date.getFullYear(),
month: date.getMonth(), month: date.getMonth() + 1,
day: date.getDate() day: date.getDate()
}); });
self.timeSelect.setValue(); self.timeSelect.setValue();

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

@ -132,7 +132,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
var date = BI.DynamicDateHelper.getCalculation(self.dynamicPane.getValue()); var date = BI.DynamicDateHelper.getCalculation(self.dynamicPane.getValue());
self.ymd.setValue({ self.ymd.setValue({
year: date.getFullYear(), year: date.getFullYear(),
month: date.getMonth(), month: date.getMonth() + 1,
day: date.getDate() day: date.getDate()
}); });
self._setInnerValue(); self._setInnerValue();

2
src/widget/dynamicdatetime/dynamicdatetime.popup.js

@ -143,7 +143,7 @@ BI.DynamicDateTimePopup = BI.inherit(BI.Widget, {
var date = BI.DynamicDateHelper.getCalculation(self.dynamicPane.getValue()); var date = BI.DynamicDateHelper.getCalculation(self.dynamicPane.getValue());
self.ymd.setValue({ self.ymd.setValue({
year: date.getFullYear(), year: date.getFullYear(),
month: date.getMonth(), month: date.getMonth() + 1,
day: date.getDate() day: date.getDate()
}); });
self.timeSelect.setValue(); self.timeSelect.setValue();

Loading…
Cancel
Save