mirror of
https://github.com/d0zingcat/rime-ice.git
synced 2026-05-13 23:16:54 +00:00
fix: lunar.lua 农历年份获取错误
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user