jonthornton / Datepair.js

A javascript plugin for intelligently selecting date and time ranges, inspired by Google Calendar.
https://www.jonthornton.com/Datepair.js
359 stars 85 forks source link

How to display the present time when I triggering the calendar? #34

Closed follisher closed 9 years ago

follisher commented 9 years ago

How to display the present time when I triggering the calendar?

jordanlev commented 9 years ago

The calendar is a separate component with its own documentation. You can use the 'todayHighlight' option for that (see http://bootstrap-datepicker.readthedocs.org/en/release/options.html#todayhighlight )

On Feb 3, 2015, at 7:40 AM, LiuBo notifications@github.com wrote:

how to make the calendar show the present date when it is clicked?

— Reply to this email directly or view it on GitHub.