projects
/
LunarCalendarPy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed indentation bug causing solar terms to halve
[LunarCalendarPy.git]
/
LunarCalendar.py
diff --git
a/LunarCalendar.py
b/LunarCalendar.py
index
1ff374e
..
eba3ff7
100644
(file)
--- a/
LunarCalendar.py
+++ b/
LunarCalendar.py
@@
-195,7
+195,7
@@
class LunarCalendar:
day = self.__getTerm(year, i)
if i % 2 == 0:
month += 1
-
res[self.__formatDayD4(month - 1, day)] = self.__solarTerm[i]
+ res[self.__formatDayD4(month - 1, day)] = self.__solarTerm[i]
return res
def __getYearZodiac(self, year):