Closed sumanchapai closed 8 months ago
Hi @sumanchapai, thank you for reporting the bug! I've created a PR to address the current issue. However, we've encountered inconsistent month data on various Patros after the year 2081. We'll look into the matter promptly.
Thanks. It's interesting to know that there's no consistency. If it helps, here's the data scraped from hamropatro for till: https://github.com/sumanchapai/patro/tree/main/data
I've noticed that Hamropatro has a total of 367 days in the year 2087, so I don't believe it has the correct data. I appreciate your help though.
PR has been merged and created a new release with the tag v0.2.1
.
https://pkg.go.dev/github.com/opensource-nepal/go-nepali@v0.2.1
Run the following code
and you'll get as output
Note that conversion of 2024-6-13-AD is correct while the next day is not! 2024-6-14-AD should be 2081-2-32-BS!