修改时间字符串使用的字符
This commit is contained in:
@@ -77,11 +77,11 @@ end
|
|||||||
|
|
||||||
function STRING.time(t)
|
function STRING.time(t)
|
||||||
if t<60 then
|
if t<60 then
|
||||||
return format("%.3f\"",t)
|
return format("%.3f″",t)
|
||||||
elseif t<3600 then
|
elseif t<3600 then
|
||||||
return format("%d'%05.2f\"",int(t/60),int(t%60*100)/100)
|
return format("%d′%05.2f″",int(t/60),int(t%60*100)/100)
|
||||||
else
|
else
|
||||||
return format("%d:%.2d'%05.2f\"",int(t/3600),int(t/60%60),int(t%60*100)/100)
|
return format("%d:%.2d′%05.2f″",int(t/3600),int(t/60%60),int(t%60*100)/100)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user