Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 517598 | Differences between
and this patch

Collapse All | Expand All

(-)a/bundles/org.eclipse.rap.rwt/js/rwt/widgets/DateTimeDate.js (-4 / +4 lines)
Lines 609-618 rwt.qx.Class.define( "rwt.widgets.DateTimeDate", { Link Here
609
    },
609
    },
610
610
611
    _setWeekday : function() {
611
    _setWeekday : function() {
612
      var tmpDate = new Date();
612
      var tmpDay = parseInt( this._dayTextField.getText(), 10 );
613
      tmpDate.setFullYear( parseInt( this._yearTextField.getText(), 10 ) );
613
      var tmpMonth = this._monthInt - 1;
614
      tmpDate.setMonth( this._monthInt - 1 );
614
      var tmpYear = parseInt( this._yearTextField.getText(), 10 );
615
      tmpDate.setDate( parseInt( this._dayTextField.getText(), 10 ) );
615
      var tmpDate = new Date( tmpYear, tmpMonth, tmpDay );
616
      this._weekdayTextField.setText( this._weekday[ tmpDate.getDay() + 1 ] );
616
      this._weekdayTextField.setText( this._weekday[ tmpDate.getDay() + 1 ] );
617
    },
617
    },

Return to bug 517598