Skip to content

Commit 61aa447

Browse files
committed
Upgrade moment for date parsing fixes re: Hacker0x01#438
1 parent 253996e commit 61aa447

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
},
8585
"dependencies": {
8686
"classnames": "^2.2.1",
87-
"moment": "^2.11.2",
87+
"moment": "^2.13.0",
8888
"react-onclickoutside": "^4.8.0",
8989
"react-tether": "^0.3.3"
9090
},

test/date_input_test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ describe('DateInput', function () {
111111
assert(!callback.called, 'must not be called')
112112
})
113113

114-
// Excluded because of issue #438
115-
xit('should call onChangeDate with a date matching the format of the locale', function () {
114+
it('should call onChangeDate with a date matching the format of the locale', function () {
116115
var locale = 'fr'
117116
var dateFormat = 'll'
118117
var callback = sinon.spy()

0 commit comments

Comments
 (0)