No commit activity in last 3 years
No release in over 3 years
Supplies the moment-precise-range plugin for use with momentjs-rails in Rails.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.2.12
~> 3.0

Runtime

>= 3.1
 Project Readme

Gem Version

momentjs_precise_range-rails

This gem supplies the moment-precise-range plugin for use with momentjs-rails in Rails.

momentjs-rails must be installed to use this plugin.

(momentjs-rails wraps the Moment.js library in a Rails engine.)

moment-precise-range is a MomentJS plugin for precisely displaying time ranges in a human readable format.

Moment.js is "a lightweight javascript date library for parsing, manipulating, and formatting dates." Moment.js does not modify the native Date object. Rather, it creates a wrapper for it. Please see the documentation for details.

Usage

Add the following to your gemfile:

gem 'momentjs_precise_range-rails'

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

//= require moment-precise-range

Acknowledgements

The content of this repository was heavily stolen borrowed from momentjs-rails