摘要:
isdst参数对os.time的影响 把电脑时区先改为UTC-5时区,这边用美国东部时区(UTC-5)来试验 local function PrintDate(tag, deltaTimestamp, dt) if dt.isdst then print(tag, deltaTimestamp, s 阅读全文
posted @ 2025-08-30 15:31
yanghui01
阅读(84)
评论(0)
推荐(0)
摘要:
lua中的数组索引从1开始 --x最小值为1 local function CircularAccess(x) local arr = ["a", "b", "c"] local idx = math.fmod(x, #arr) if 0 == idx then idx = #arr end pri 阅读全文
posted @ 2025-08-30 15:30
yanghui01
阅读(9)
评论(0)
推荐(0)

浙公网安备 33010602011771号