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

Commit 9436b9e

Browse files
icfantvwesleycho
authored andcommitted
docs: add note for datepicker/datepicker-popup
* 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
1 parent b2984b0 commit 9436b9e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Diff for: src/datepicker/docs/readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The datepicker has 3 modes:
1313
* `ng-model`
1414
<small class="badge">$</small>
1515
<i class="glyphicon glyphicon-eye-open"></i> -
16-
The date object. Needs to be a Javascript Date object.
16+
The date object. Must be a Javascript `Date` object. You may use the `uibDateParser` service to assist in string-to-object conversion.
1717

1818
* `ng-model-options`
1919
<small class="badge">$</small>

Diff for: src/datepickerPopup/docs/readme.md

+5
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ Add the ability to override the template used on the component (inner uib-datepi
5757
_(Default: `false`)_ -
5858
Whether or not to show the datepicker.
5959

60+
* `ng-model`
61+
<small class="badge">$</small>
62+
<i class="glyphicon glyphicon-eye-open"></i> -
63+
The date object. Must be a Javascript `Date` object. You may use the `uibDateParser` service to assist in string-to-object conversion.
64+
6065
* `on-open-focus`
6166
<small class="badge">$</small>
6267
<small class="badge">C</small>

0 commit comments

Comments
 (0)