Project

unichron

0.0
The project is in a healthy, maintained state
A universal chron tool.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 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