Skip to content

openc/nepal_date_converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NepalDateConverter

Very basic converter from Nepal Dates (BS) to AD dates. Note only currently converts from Nepal Dates

Installation

Add this line to your application's Gemfile:

gem 'nepal_date_converter'

And then execute:

$ bundle

Or install it yourself as:

$ gem install nepal_date_converter

Usage

NepalDateConverter.convert_to_ad_date('2002-2-9')

=> '1945-05-22'

Other resources

http://en.wikipedia.org/wiki/Nepali_calendar

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Releases

No releases published

Packages

No packages published

Languages