chronic

https://github.com/mojombo/chronic

Ruby

Chronic is a pure Ruby natural language date parser.

Chronic::Repeater.scan_for_times

token - The Token object we want to scan.

Returns a new Repeater object.

Source | Google | Stack overflow

Edit

git clone [email protected]:mojombo/chronic.git

cd chronic

open lib/chronic/tags/repeater.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Chronic--Repeater-scan_for_times-for-pr


# Commit to git

git add lib/chronic/tags/repeater.rbgit commit -m "better docs for Chronic::Repeater.scan_for_times"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Chronic--Repeater-scan_for_times-for-pr

hub pull-request


# Celebrate!