Bootstrap 3 DateTime picker from @Eonasdan, https://github.com/Eonasdan/bootstrap-datetimepicker, packaged for Meteor.js
JavaScript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib update to 4.17.42 Jun 1, 2016
.gitignore Update Moment.js version. Apr 15, 2015
README.md Updated README to use Bootstrap icon classes. Sep 30, 2015
package.js update to 4.17.42 Jun 1, 2016

README.md

bootstrap3-datetimepicker

Bootstrap 3 DateTime picker from Eonasdan, https://github.com/Eonasdan/bootstrap-datetimepicker, packaged for Meteor.js

To install

$ meteor add tsega:bootstrap3-datetimepicker

To use

Set up your markup, in the example below a grouped calendar icon with text input (bootstrap3)

<template name="tempName">
...
  <div class="input-group datetimepicker">
    <span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
    <input class="set-due-date form-control" type="text"/>
  </div>
...
</template>

Using jQuery initiate the control as datetime picker after the template has been rendered.

Template.tempName.onRendered(function() {
    this.$('.datetimepicker').datetimepicker();
});