We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94dde55 commit 0fac4acCopy full SHA for 0fac4ac
DateTime.js
@@ -183,6 +183,10 @@ var Datetime = createClass({
183
}
184
185
186
+
187
+ if ( nextProps.viewDate !== this.props.viewDate ) {
188
+ updatedState.viewDate = nextProps.viewDate;
189
+ }
190
//we should only show a valid date if we are provided a isValidDate function. Removed in 2.10.3
191
/*if (this.props.isValidDate) {
192
updatedState.viewDate = updatedState.viewDate || this.state.viewDate;
0 commit comments