Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

momentjs_precise_range-rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

momentjs_precise_range-rails

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 07 Oct 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc