Covert Hijiri Date to Gregorian Date

Hi, I want to convert Hijiri Date to Gregorian Date I have tried gem
‘hijri2greg_date’ but it is not showing correct Gregorian date. Is there
any other gem which converts correctly and best way.

Thanks in advance

On Wednesday, 16 December 2015 03:36:09 UTC-5, honey ruby wrote:

Hi, I want to convert Hijiri Date to Gregorian Date I have tried gem
‘hijri2greg_date’ but it is not showing correct Gregorian date. Is there
any other gem which converts correctly and best way.

Thanks in advance

You may get more assistance if you post an example of the conversion
code
that’s failing.

I can’t speak to the accuracy, but the gem at
https://github.com/ecleel/hijri at least has tests.

–Matt J.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs