RubyGems.org

Date and DateTime don't have sensible constructors. You can't construct one using an existing Date/Time, nor by passing a string to be parsed. Instead you have to call special-purpose routines. This gem adds some sensible options to the existing modes of the constructors

installgem install date-constructor
Authors

Clifford Heath

700 total downloads 700 for this version
Owners

0b7831a9963c2207377c46468f6e797a

Licenses

MIT

Gemfile
gem 'date-constructor', '~> 0.0.1'
Versions
  1. 0.0.1 January 4, 2013 (25 KB)