You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

jquery-dateandtimepicker-rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery-dateandtimepicker-rails

1.0.4
Rubygems
Version published
Maintainers
1
Created
Source

jQuery Date and Time picker for rails

jQuery Date and Time picker plugin by @xdan for Ruby on Rails asset pipeline.

Gem Version

jQuery Date and Time picker plugin version: v2.5.14

Add this line to your application's Gemfile:

gem 'jquery-dateandtimepicker-rails', '~> 1.0.4'

And then execute:

$ bundle

Add this line to app/assets/stylesheets/application.css:

*= require jquery.datetimepicker

Add this line to app/assets/javascripts/application.js:

//= require jquery.datetimepicker

You can autoinitialize datetime picker on page load for elements with class datetimepicker by also adding to js manifest:

//= require jquery.datetimepicker/init

Usage

$('.datetimepicker').datetimepicker();

See the official documentation for examples and options.

Contributing

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

FAQs

Package last updated on 31 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts