「模組:Date」:修訂歷史

比對選擇的版本差異:選擇要比對修訂版本的單選按鈕並點選底部的按鈕進行比對。
符號說明:(目前) = 與最新的修訂版本比對,(前筆) = 與前一筆修訂版本比對, = 次要修訂。

2022年6月27日 (星期一)

  • 目前前筆 08:292022年6月27日 (一) 08:29imported>CYL992 47,496位元組 +47,496 建立內容為「-- Date functions for use by other modules. -- I18N and time zones are not supported. local MINUS = '−' -- Unicode U+2212 MINUS SIGN local floor = math.floor local Date, DateDiff, diffmt -- forward declarations local uniq = { 'unique identifier' } local function is_date(t) -- The system used to make a date read-only means there is no unique -- metatable that is conveniently accessible to check. return type(t) == 'table' and t._id == uniq end local…」的新頁面