Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zh/timeapi
An online date/time parsing service, based on the 'chronic' ruby gem.
https://github.com/zh/timeapi
Last synced: 10 days ago
JSON representation
An online date/time parsing service, based on the 'chronic' ruby gem.
- Host: GitHub
- URL: https://github.com/zh/timeapi
- Owner: zh
- Created: 2009-08-28T03:02:13.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2015-05-31T07:47:42.000Z (over 9 years ago)
- Last Synced: 2023-04-10T23:24:10.041Z (over 1 year ago)
- Language: Ruby
- Homepage: http://chronic.heroku.com/
- Size: 136 KB
- Stars: 7
- Watchers: 3
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
timeapi
========An online date/time parsing service, based on the 'chronic' ruby gem.
Overview
---------Chronic [ http://chronic.rubyforge.org/ ] is a natural language date/time parser
written in pure Ruby. TimeAPI just adds an RESTful service around chronic.Usage
------From a browser visit http://chronic.heroku.com/ and fill the textbox with a
string containing a natural language date. Examples: 'tomorrow', 'in two hours' etc.API (just one method) is available on URL http://chronic.herokuapp.com/pdt/{your_string}
For example:http://chronic.herokuapp.com/pdt/in+two+hours