We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e430c2 commit 84e4861Copy full SHA for 84e4861
qml/main.qml
@@ -224,7 +224,8 @@ ApplicationWindow {
224
}
225
226
function renderCalendarByAd(year, monthIndex) {
227
- var jd = Panchanga.toJulianDay(year, monthIndex + 1, d);
+ var d = 1;
228
+ var jd = Panchanga.toJulianDay(year, monthIndex, d); //Show month with gregorian day 1
229
var ahar = jd - Panchanga.KaliEpoch;
230
var sunLong = Panchanga.trueLongitudeSun(ahar);
231
var bsInfo = Panchanga.getBikramSambatInfo(ahar, sunLong);
0 commit comments