fix: lunar.lua 农历年份获取错误
This commit is contained in:
parent
4b166f6f08
commit
0bfa8ccbb0
@ -621,7 +621,7 @@ local function Date2LunarDate(Gregorian)
|
|||||||
LunarMonth = cMonName[LMonth]
|
LunarMonth = cMonName[LMonth]
|
||||||
end
|
end
|
||||||
|
|
||||||
local _nis = tostring(os.date("%Y"))
|
local _nis = tostring(LYear)
|
||||||
local _LunarYears = ""
|
local _LunarYears = ""
|
||||||
for i = 1, _nis:len() do
|
for i = 1, _nis:len() do
|
||||||
local _ni_digit = tonumber(_nis:sub(i, i))
|
local _ni_digit = tonumber(_nis:sub(i, i))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user