Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion angular-ui
Submodule angular-ui updated from 8adfba to 868915
8 changes: 5 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,11 @@ <h1>Date</h1>
<h3>What?</h3>
<p>Calendar picker with ng-model integration</p>
<div class="well">
<p><input value="Click Here for Datepicker" ng-model="date" ui-date></p>
<ng-form name="dateForm">
<p><input name="dateField" value="Click Here for Datepicker" ng-model="date" ui-date></p>
</ng-form>
<p>Selected Date: {{ date }}</p>
<p>Formatted Date: {{ date.toLocaleDateString() }}</p>
<p>Formatted Date: {{ date | date: 'mediumDate'}}</p>
<p>Selected Month: {{ date.getMonth() }}</p>
<div ng-model="date" ui-date></div>
</div>
Expand All @@ -225,7 +227,7 @@ <h3>How?</h3>
<pre class="prettyprint linenums" ng-non-bindable>
&lt;input ng-model="date" ui-date&gt;
Selected Date: {{ date }}
Formatted Date: {{ date.toLocaleDateString() }}
Formatted Date: {{ date | date: 'mediumDate'}}
Selected Month: {{ date.getMonth() }}
&lt;div ng-model="date" ui-date&gt;&lt;/div&gt;
</pre>
Expand Down