Commit d2ae56a
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- src
- ng
- directive
- filter
- test/ng
- directive
- filter
5 files changed
+1294
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
104 | 107 | | |
105 | 108 | | |
106 | 109 | | |
| |||
0 commit comments