Wareki - Japanese Calendar
http://en.wikipedia.org/wiki/Japanese_era_name http://en.wikipedia.org/wiki/List_of_Japanese_era_names
Add this line to your application's Gemfile:
gem 'wareki'
And then execute:
$ bundle
Or install it yourself as:
$ gem install wareki
require 'wareki'
# m means Meiji era
Wareki::Date.parse("m01.01.03") # => 1868-01-27
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request