Skip to content

Commit

Permalink
updated examples
Browse files Browse the repository at this point in the history
  • Loading branch information
hadar.porat committed Mar 17, 2011
1 parent 0b9d352 commit 0248856
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions example.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ <h2>Time Range</h2>
<script>
$(function() {
$('#time_start, #time_end')
.calendricalTimeRange();
.calendricalTimeRange({meridiemUpperCase: true, endTime: {hour: 24, minute: 00}});
});
</script>
</div>
Expand All @@ -135,7 +135,10 @@ <h2>Time Range</h2>
<div class="javascript">
<pre>
$(<font color="#008000">'#time_start, #time_end'</font>)
.calendricalTimeRange()<font color="4444FF">;</font></pre>
.calendricalTimeRange({
meridiemUpperCase: true,
endTime: {hour: 24, minute: 00}
})<font color="4444FF">;</font></pre>
</div>
</section>

Expand All @@ -159,7 +162,7 @@ <h2>DateTime Range</h2>
$(function() {
$('#dt_date_start, #dt_time_start,' +
'#dt_date_end, #dt_time_end')
.calendricalDateTimeRange();
.calendricalDateTimeRange({endTime: {hour: 24, minute: 00}});
});
</script>
</div>
Expand All @@ -180,7 +183,9 @@ <h2>DateTime Range</h2>
<div class="javascript">
<pre>$(<font color="#008000">'#dt_date_start, #dt_time_start,'</font> +
<font color="#008000">'#dt_date_end, #dt_time_end'</font>)
.calendricalDateTimeRange()<font color="4444FF">;</font></pre>
.calendricalDateTimeRange({
{endTime: {hour: 24, minute: 00}
})<font color="4444FF">;</font></pre>
</div>
</section>
</div>
Expand Down

0 comments on commit 0248856

Please sign in to comment.