Repository is archived
No commit activity in last 3 years
No release in over 3 years
This gem packages the Bootstrap3 bootstrap-datetimepicker (JS + CSS) for Rails 3.1+ asset pipeline.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

 Project Readme

datetime_picker_rails

Forked from TrevorS/bootstrap-datetimepicker-rails on Sept 3, 2015.

My goal is to make it not require bootstrap-sass.


This gem packages the bootstrap-datetimepicker for the Rails 3.1+ asset pipeline.

Installation

Add these lines to your application's Gemfile:

gem "datetime_picker_rails", github: "graysonwright/datetime_picker_rails"

And then execute:

$ bundle

If your server is running, you will need to restart Rails before using the gem.

Add the following to your JavaScript manifest file (application.js):

//= require moment
//= require datetime_picker

If you want to include a localization, also add:

//= require moment/<locale>

Add the following to your style sheet file:

If you are using SCSS, modify your application.css.scss

@import "datetime_picker";

If you're using plain CSS, modify your application.css

*= require datetime_picker

Usage

Check out the documentation at: http://eonasdan.github.io/bootstrap-datetimepicker/

Problems

Clone https://github.com/TrevorS/bs3dp-test and try to reproduce your issue.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request