Changes to the algorithm to handle when preferMonthFirst is false

Credit for this to KamalGalrani
This commit is contained in:
troyspencer 2019-08-07 22:10:40 -05:00
parent 0fb0a474d1
commit d530bcec9b

View File

@ -269,6 +269,12 @@ iterRunes:
p.setMonth()
p.dayi = i + 1
}
} else {
if p.daylen == 0 {
p.daylen = i
p.setDay()
p.moi = i + 1
}
}
}
@ -446,6 +452,12 @@ iterRunes:
p.setDay()
p.yeari = i + 1
}
} else {
if p.molen == 0 {
p.molen = i - p.moi
p.setMonth()
p.yeari = i + 1
}
}
}