split_dmy 0.5.0
Adds accessors to a class so that the date can be set as a string while days, months and years can be set as integers. It also allows for month as short and long text inputs, e.g. Jan, March. It will validate resulting dates and generate errors when parts are invalid and where combined parts are incorrect.
Gemfile:
=
复制到剪贴板
已复制!
安装:
=
Development 依赖 (8):
activerecord
>= 4.2.6, ~> 4.2
bundler
~> 1.7
rake
~> 11.0
rspec
~> 3.2
rubocop
~> 0.37.2
rubocop-rspec
= 1.4.0
sqlite3
~> 1