今天是2024年10月1日 第40周 星期二
代人,时大变了。
我们生活在大地上,但我们的梦想超越天空。
變更
跳至導覽
跳至搜尋
← 較舊編輯
模块:Message box
(檢視原始碼)
於 2023年12月24日 (日) 19:41 的修訂
增加 156 位元組
、
2023年12月24日 (日) 19:41
小
导入1个版本
行 300:
行 300:
date = lang:formatDate('Y年n月j日', args.time)
date = lang:formatDate('Y年n月j日', args.time)
end
end
−
local ok, tempdate = pcall(lang.formatDate, lang, 'Y年n月j日', date) -- 正規化日期
+
if date then
−
if ok then
+
local ok, tempdate = pcall(lang.formatDate, lang, 'Y年n月j日', date) -- 正規化日期
−
date = tempdate
+
if ok then
+
date = tempdate
+
end
end
end
if date then
if date then
行 405:
行 407:
if args.date and args.date ~= '' then
if args.date and args.date ~= '' then
date = args.date
date = args.date
+
local ok, tempdate = pcall(lang.formatDate, lang, 'Y年n月', date) -- 正規化日期
+
if ok then
+
date = tempdate
+
end
elseif args.time and args.time ~= '' then
elseif args.time and args.time ~= '' then
date = lang:formatDate('Y年n月', args.time)
date = lang:formatDate('Y年n月', args.time)
白龙
行政員
、
使用者查核員
、importer、
介面管理員
、
結構式討論監督員
、
管理員
1,500
次編輯
導覽選單
個人工具
建立帳號
登入
命名空間
模組
討論
變體
視圖
閱讀
檢視原始碼
檢視歷史
更多
搜尋
導覽
首頁
近期變更
隨機頁面
沙盒
互助客棧
QQ交流群
方針與指引
工具
上傳檔案
特殊頁面
可列印版