RubyGems Navigation menu

valid-date 1.1.0

Adds String#valid_date? method to add utility to the Rails String#to_date method. Determines whether the string contains a valid date, to check before converting to a date and avoiding an exception.

Gemfile
          gem 'valid-date', '~> 1.1.0'
  
  
  
  
  
  
  

install
          gem install valid-date -v 1.1.0
  
  
  
  
  
  
  

Authors:

  • Patrick Byrne

Owners:

Total downloads 5,427

For this version 1,318

Required Ruby Version: None

Links:

Versions:

  1. 1.1.2 - May 6, 2010 (4 KB)
  2. 1.1.1 - May 6, 2010 (4 KB)
  3. 1.1.0 - January 4, 2010 (4 KB)
  4. 1.0.0 - June 27, 2009 (4 KB)

Runtime Dependencies: