跳到内容

Module:Partnertable:修订间差异

添加17字节 、​ 2021年7月26日 (星期一)
无编辑摘要
无编辑摘要
无编辑摘要
第26行: 第26行:
function version(time)
function version(time)
    local ans
    local ans
    if string.byte(time,7) == 100 or string.byte(time,7) >= 48 and string.byte(time,7) <= 57 then ans = 7 else ans = 6 end
    if string.byte(time,7) == 99 or string.byte(time,7) >= 48 and string.byte(time,7) <= 57 then ans = 7 else ans = 6 end
    return string.sub(time,1,ans)
    return string
.gsub(string.sub(time,1,ans),v,V)
end
end


4,199

个编辑