嘗試正規化日期
Cquote>Xiplus (per EP) |
Cquote>Xiplus (嘗試正規化日期) |
||
| 第299行: | 第299行: | ||
elseif args.time and args.time ~= '' then | elseif args.time and args.time ~= '' then | ||
date = lang:formatDate('Y年n月j日', args.time) | date = lang:formatDate('Y年n月j日', args.time) | ||
end | |||
local ok, tempdate = pcall(lang.formatDate, lang, 'Y年n月j日', date) -- 正規化日期 | |||
if ok then | |||
date = tempdate | |||
end | end | ||
if date then | if date then | ||