RubyGems Navigation menu

chronic_duration 0.9.6

A simple Ruby natural language parser for elapsed time. (For example, 4 hours and 30 minutes, 6 minutes 4 seconds, 3 days, etc.) Returns all results in seconds. Will return an integer unless you get tricky and need a float. (4 minutes and 13.47 seconds, for example.) The reverse can also be performed via the output method.

Gemfile
          gem 'chronic_duration', '~> 0.9.6'
  
  
  
  
  
  
  

install
          gem install chronic_duration -v 0.9.6
  
  
  
  
  
  
  

Authors:

  • hpoydar

Owners:

Total downloads 170,565

For this version 66,302

Show all versions (17 total)

Required Ruby Version: None

Links:

Versions:

  1. 0.10.6 - September 8, 2014 (11 KB)
  2. 0.10.5 - July 15, 2014 (11 KB)
  3. 0.10.4 - February 24, 2014 (11 KB)
  4. 0.10.3 - February 24, 2014 (11 KB)
  5. 0.10.2 - February 24, 2013 (10.5 KB)
Show all versions (17 total)

Runtime Dependencies: