amant / Nepali-Date-Convert

A simple class to convert nepali date to english and vise versa, included here both php and c++ version
11 stars 17 forks source link

Source of BS data? #1

Open munikarmanish opened 6 years ago

munikarmanish commented 6 years ago

Hi, can you provide the source of the BS data (list of number of days in every BS year/month) ?

amant commented 6 years ago

Hi Manish, I can't seem to find the original excel file I got from one of the calendar publisher. Non the less it is in the code itself too as array.

line 9 through 100

Hope that helps. Cheers

munikarmanish commented 6 years ago

Hi @amant I already found the array in the source code. I just wanted to know why there's a limit (2000‒2090). :)

amant commented 6 years ago

Yes unfortunately the dataset I bought from one of the calendar publisher at that time only had upto 2090, which was good enough for my project then. May be you can contact them too.

pawan-acharya commented 4 years ago

date English to Nepali date are not correct and recurring, as u can see here

amant commented 4 years ago

You are right, that's incorrect. Something wrong in the date mappings. If you could create a PR, would really appreciate it :)