bug fix:Chinese calendar display incorrect
This commit is contained in:
parent
8a5313b5dc
commit
a9135de034
@ -301,7 +301,11 @@ func GetLunar(year, month, day int) (lmonth, lday int, leap bool, result string)
|
||||
if leap {
|
||||
result += "闰"
|
||||
}
|
||||
result += strmonth[lmonth] + "月"
|
||||
if lmonth == 1 {
|
||||
result += "正月"
|
||||
} else {
|
||||
result += strmonth[lmonth] + "月"
|
||||
}
|
||||
if lday == 20 {
|
||||
result += "二十"
|
||||
} else if lday == 10 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user