跳至內容

「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

次編輯