Skip to content

Commit d2ae56a

Browse files
benleshlrlopez
authored andcommitted
feat(input): support types date, time, datetime-local, month, week
On older browser that don't support the new HTML5 inputs and display a text input instead, the user is required to enter the data in the corresponding ISO format. The value in `ng-model` will always be a date. E2e tests contain a workaround to a bug in webdriver, see angular/protractor#562. Also adds weeks as format to the `dateFilter`. Related to angular#757. Closes angular#5864.
1 parent 5fc9c4a commit d2ae56a

File tree

5 files changed

+1294
-13
lines changed

5 files changed

+1294
-13
lines changed

src/.jshintrc

+3
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@
101101
"getter": false,
102102
"getBlockElements": false,
103103

104+
/* filters.js */
105+
"getFirstThursdayOfYear": false,
106+
104107
/* AngularPublic.js */
105108
"version": false,
106109
"publishExternalAPI": false,

0 commit comments

Comments
 (0)