「モジュール:カレンダー」の版間の差分

日付チェックを導入
(入力を増やした)
(日付チェックを導入)
12行目: 12行目:
month = tonumber(ar[2])
month = tonumber(ar[2])
day = tonumber(ar[3])
day = tonumber(ar[3])
end
    end
yogurian.checkYogurianValidDate(year,month,day)
days = month == 1 and (yogurian.isLeap(year + 2020) and 36 or 35) or 30
days = month == 1 and (yogurian.isLeap(year + 2020) and 36 or 35) or 30
beforeDays = month == 2 and (yogurian.isLeap(year + 2020) and 36 or 35) or 30
beforeDays = month == 2 and (yogurian.isLeap(year + 2020) and 36 or 35) or 30