Skip to content

Commit bceb3a8

Browse files
committed
Bump version to 0.0.5
1 parent 06404d9 commit bceb3a8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-bootstrap-datetimepicker",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
44
"description": "A bootstrap datetime picker component for React.js",
55
"scripts": {
66
"build": "./node_modules/.bin/grunt build",

src/DateTimeField.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@ DateTimeField = React.createClass({
109109
return this.setState({
110110
selectedDate: this.state.selectedDate.clone().add(1, "minutes")
111111
}, function() {
112-
this.props.onChange(this.state.selectedDate.format(this.props.format));
112+
return this.props.onChange(this.state.selectedDate.format(this.props.format));
113113
});
114114
},
115115
addHour: function() {
116116
return this.setState({
117117
selectedDate: this.state.selectedDate.clone().add(1, "hours")
118118
}, function() {
119-
this.props.onChange(this.state.selectedDate.format(this.props.format));
119+
return this.props.onChange(this.state.selectedDate.format(this.props.format));
120120
});
121121
},
122122
addMonth: function() {
@@ -138,14 +138,14 @@ DateTimeField = React.createClass({
138138
return this.setState({
139139
selectedDate: this.state.selectedDate.clone().subtract(1, "minutes")
140140
}, function() {
141-
this.props.onChange(this.state.selectedDate.format(this.props.format));
141+
return this.props.onChange(this.state.selectedDate.format(this.props.format));
142142
});
143143
},
144144
subtractHour: function() {
145145
return this.setState({
146146
selectedDate: this.state.selectedDate.clone().subtract(1, "hours")
147147
}, function() {
148-
this.props.onChange(this.state.selectedDate.format(this.props.format));
148+
return this.props.onChange(this.state.selectedDate.format(this.props.format));
149149
});
150150
},
151151
subtractMonth: function() {

0 commit comments

Comments
 (0)