Project

sincer

0.0
No release in over a year
This gem is used to get how many minutes, hours, days, weeks, months, years have passed since the specified date.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 13.0
~> 3.0
 Project Readme

Sincer

Gem Version GitHub Actions CI

Description

A gem providing a simple interface for getting how many minutes, hours, days, weeks, months, years have passed since or will pass until the specified date.

Usage

require 'sincer'

Sincer.rephrase('2021-01-01 00:00:00')
 # => "1 minute ago if it is 2021-01-01 00:01:00"

Installation

Install the gem and add to the application's Gemfile by executing:

$ bundle add sincer

If bundler is not being used to manage dependencies, install the gem by executing:

$ gem install sincer

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/mikaneco/sincer. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Sincer project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.