Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
docs: add note for datepicker/datepicker-popup
Browse files Browse the repository at this point in the history
* update the datepicker and datepicker popup docs to let user know
  about using the `uibDateParser` service to convert a date string
  into a `Date` object.

Closes #5880
  • Loading branch information
icfantv authored and wesleycho committed May 8, 2016
1 parent b2984b0 commit 9436b9e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/datepicker/docs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The datepicker has 3 modes:
* `ng-model`
<small class="badge">$</small>
<i class="glyphicon glyphicon-eye-open"></i> -
The date object. Needs to be a Javascript Date object.
The date object. Must be a Javascript `Date` object. You may use the `uibDateParser` service to assist in string-to-object conversion.

* `ng-model-options`
<small class="badge">$</small>
Expand Down
5 changes: 5 additions & 0 deletions src/datepickerPopup/docs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ Add the ability to override the template used on the component (inner uib-datepi
_(Default: `false`)_ -
Whether or not to show the datepicker.

* `ng-model`
<small class="badge">$</small>
<i class="glyphicon glyphicon-eye-open"></i> -
The date object. Must be a Javascript `Date` object. You may use the `uibDateParser` service to assist in string-to-object conversion.

* `on-open-focus`
<small class="badge">$</small>
<small class="badge">C</small>
Expand Down

0 comments on commit 9436b9e

Please sign in to comment.