6tail / lunar-csharp

日历、公历(阳历)、农历(阴历、老黄历)、佛历、道历,支持节假日、星座、儒略日、干支、生肖、节气、节日、彭祖百忌、每日宜忌、吉神宜趋凶煞宜忌、吉神(喜神/福神/财神/阳贵神/阴贵神)方位、胎神方位、冲煞、纳音、星宿、八字、五行、十神、建除十二值星、青龙名堂等十二神、黄道黑道日及吉凶等。lunar is a calendar library for Solar and Chinese Lunar.
https://6tail.cn/calendar/api.html
MIT License
225 stars 46 forks source link

util/LunarUtil.cs getDayYi() #1

Closed peterjan1989 closed 3 years ago

peterjan1989 commented 3 years ago

util/LunarUtil.cs getDayYi() There's a bug in the mathod. At line 1436. original: ys = ys.Substring(0, left.IndexOf(",")); correct: ys = ys.Substring(0, ys.IndexOf(","));