Project

unichron

0.0
Low commit activity in last 3 years
No release in over a year
A universal chron tool.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.1, >= 0.1.7
~> 0.8, >= 0.8.5
~> 0.7, >= 0.7.1
 Project Readme

Introducing the unichron gem

require 'unichron'

r = Unichron.new('next tuesday').to_time
#=> 2020-11-10 12:00:00 +0000 
r = Unichron.new('last sunday in October at 2am').to_time
#=> 2021-10-31 02:00:00 +0000 
r = Unichron.new('5 minutes').to_seconds
#=> 300

unichron chron chronic duration time seconds date calendar event