6tail / lunar-python

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

AttributeError: 'Lunar' object has no attribute 'getHour' #5

Closed jgarrick1992 closed 2 years ago

jgarrick1992 commented 2 years ago

Class Lunar 未定义getHour()方法

Class LunarTime 引用 self.__lunar.getHour() 时报错

Screen Shot 2022-05-03 at 08 23 41
6tail commented 2 years ago

v1.2.19已修复该问题。