Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
feat(input): support types date, time, datetime-local, month, week
Browse files Browse the repository at this point in the history
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 #757.
Closes #5864.
  • Loading branch information
benlesh authored and tbosch committed Mar 6, 2014
1 parent 0609453 commit 46bd6dc
Show file tree
Hide file tree
Showing 5 changed files with 1,287 additions and 6 deletions.
3 changes: 3 additions & 0 deletions src/.jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@
"getter": false,
"getBlockElements": false,

/* filters.js */
"getFirstThursdayOfYear": false,

/* AngularPublic.js */
"version": false,
"publishExternalAPI": false,
Expand Down
Loading

0 comments on commit 46bd6dc

Please sign in to comment.