Skip to content

Commit 3ad414b

Browse files
committed
Fix value accessor time parse test (failing on iOS).
1 parent 9cc3f9a commit 3ad414b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/app/tests/value-accessor-tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ describe("two-way binding via ng-model", () => {
116116
accessor.writeValue(null);
117117
assert.equal(formatTime(now), formatTime(accessor.view.time), "default to now on empty")
118118

119-
accessor.writeValue("2010-03-17 12:54");
119+
accessor.writeValue("2010/03/17 12:54");
120120
assert.equal(formatTime(new Date(2010, 2, 17, 12, 54)), formatTime(accessor.view.time))
121121

122122
accessor.writeValue("three hours from now");

0 commit comments

Comments
 (0)