CodingWithTashi / tibetan_calendar

Tibetan Calendar API written in dart
https://pub.dev/packages/tibetan_calendar
MIT License
5 stars 0 forks source link

Calculating wrong date #1

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hi. I use your library for my project. I convert Western Day to Tibetan day and I found the error. Example 7/11/2022 -> 13/9/2149, exactly 14/9/2149. https://www.lotsawahouse.org/Cgi/phugpa.pl

CodingWithTashi commented 1 year ago

Hi @SolveMyProblem , As I checked with same date, I couldn't able to replicate the issue.

tibDate =TibetanCalendar.getTibetanDate(DateTime(2022, 11, 7));
print(tibDate.day); // print 14
print(tibDate.month); // print 9
print(tibDate.year); // print 2149

Please check and let me know