-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If Tithi is Amavasya end date is wrong #3
Comments
how can the traditional month be calculated? from the above tithis? |
Is there a way to get Tamil date for the given date. |
Same issue with wrong end date of Tithi and Karanam in Amavasya 🤔 panchang.calculate(new Date(1689582300000), () => console.log(panchang.Tithi.end) ) // Mon Jul 17 2023 16:25:00 GMT+0800 (Central Indonesia Time)
> Tue Jul 18 2023 02:31:37 GMT+0800 (Central Indonesia Time)
panchang.calculate(new Date(1689582400000), () => console.log(panchang.Tithi.end) ) // Mon Jul 17 2023 16:26:40 GMT+0800 (Central Indonesia Time)
> Wed Aug 16 2023 17:37:20 GMT+0800 (Central Indonesia Time) |
Any one got any solution please share. If author of this code is active please let me know the solution so that i can rectify the error. |
I am not active on this project for a long time when I get time will try to fix this issue |
Ans:
|
This code I wrote almost 15 years back. since then I lost the context. I don't have time to fix any bugs or enhancements. If anyone wants to contribute they are welcome. |
select a date with tithi Amavasya, it will show next month date as end date.
1. Selected date 2020-04-23
{"Day":{"name":"Thursday"},"Tithi":{"name":"Amavasya","start":"2020-04-22T00:07:32.000Z","end":"2020-05-22T17:38:24.000Z"},"Nakshatra":{"name":"Ashwini","start":"2020-04-22T07:47:49.000Z","end":"2020-04-23T10:34:35.000Z"},"Karna":{"name":"Nagava","start":"2020-04-22T13:17:42.000Z","end":"2020-05-22T17:38:24.000Z"},"Yoga":{"name":"Prithi","start":"2020-04-22T16:45:25.000Z","end":"2020-04-23T17:28:13.000Z"},"Ayanamsa":{"name":"24 8'11""},"Raasi":{"name":"Mesha"},"version":"0.2"}
2. Selected date 2020-05-22
{"Day":{"name":"Friday"},"Tithi":{"name":"Amavasya","start":"2020-05-21T16:06:12.000Z","end":"2020-06-21T06:40:51.000Z"},"Nakshatra":{"name":"Kruthika","start":"2020-05-21T19:33:29.000Z","end":"2020-05-22T21:38:58.000Z"},"Karna":{"name":"Chatushpada","start":"2020-05-21T16:06:12.000Z","end":"2020-05-22T04:55:09.000Z"},"Yoga":{"name":"Sobhana","start":"2020-05-21T00:29:15.000Z","end":"2020-05-22T00:54:48.000Z"},"Ayanamsa":{"name":"24 8'15""},"Raasi":{"name":"Mesha"},"version":"0.2"}
Thanks
The text was updated successfully, but these errors were encountered: