mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
do not display 0:xx:xx PM
This commit is contained in:
@@ -1607,6 +1607,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
}
|
||||
if (h > 12)
|
||||
return string.Format("{0}:{1:00}:{2:00} PM", h - 12, m, s);
|
||||
if (h == 12)
|
||||
return string.Format("{0}:{1:00}:{2:00} PM", h, m, s);
|
||||
return string.Format("{0}:{1:00}:{2:00} AM", h, m, s);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user