0.0
No commit activity in last 3 years
No release in over 3 years
Combodate is a javascript library for entering dates/times. It depends on momentjs-rails that is included as a dependency. This gem allows for its easy inclusion into the rails asset pipeline.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

combodate-rails

combodate-rails wraps the combodate.js library in a rails engine for simple use with the asset pipeline provided by rails 3.1. The gem includes the development (non-minified) source for ease of exploration. The asset pipeline will minify in production.

combodate.js is a plugin that "...converts <input> into dropdown elements to pick day, month, year, hour, minutes and seconds." Please see the documentation for details.

Usage

Add the following to your gemfile:

gem 'combodate-rails'

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

//= require combodate

If you want to include a localization file, also add the following directive:

//= require combodate/<locale>.js

Versioning

combodate-rails 1.0.1 == combodate.js 1.0.1 combodate-rails 1.0.7 == combodate.js 1.0.7

Every attempt is made to mirror the currently shipping combodate.js version number wherever possible. The major, minor, and patch version numbers will always represent the combodate.js version. Should a gem bug be discovered, a 4th version identifier will be added and incremented.