fix: lunar.lua 农历年份获取错误

This commit is contained in:
Dvel 2024-01-16 18:15:36 +08:00
parent 4b166f6f08
commit 0bfa8ccbb0

View File

@ -621,7 +621,7 @@ local function Date2LunarDate(Gregorian)
LunarMonth = cMonName[LMonth]
end
local _nis = tostring(os.date("%Y"))
local _nis = tostring(LYear)
local _LunarYears = ""
for i = 1, _nis:len() do
local _ni_digit = tonumber(_nis:sub(i, i))