Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b11cc4e

Browse files
edusperonielena-p
authored andcommitted
chore: fix date test when GMT is negative (#2063)
1 parent 0402d1b commit b11cc4e

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
@@ -111,7 +111,7 @@ describe("two-way binding via ng-model", () => {
111111
let diff = Math.abs(accessor.view.date.getTime() - defaultDate.getTime());
112112
assert.isTrue(diff < 1000, "setting null should reset the value");
113113

114-
accessor.writeValue("2010-03-17");
114+
accessor.writeValue("2010/03/17");
115115
assert.equal(formatDate(new Date(2010, 2, 17)), formatDate(accessor.view.date));
116116

117117
accessor.writeValue(null);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /