今天是2024年7月1日 第27周 星期一

代人,时大变了。

我们生活在大地上,但我们的梦想超越天空。

更改

跳到导航 跳到搜索
添加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)

导航菜单