模块:Message box:修订间差异

imported>Shizhao
无编辑摘要
imported>Shizhao
格式化时间
第399行: 第399行:
[31] = '㏾'
[31] = '㏾'
}
}
if args.time and args.time ~= '' then
if args.date and args.date ~= '' then
date = args.time
date = args.date
elseif args.time and args.time ~= '' then
elseif args.time and args.time ~= '' then
date = lang:formatDate('Y年n月', time)
date = lang:formatDate('Y年n月', args.time)
sortDay = lang:formatDate('j', time)
sortDay = lang:formatDate('j', args.time)
sortDay = tonumber(sortDay)
sortDay = tonumber(sortDay)
sortDay = dayName[sortDay]
sortDay = dayName[sortDay]