Core/Server: correct timestamp format for shutdown/restart notification broadcasts

Port From (https://github.com/TrinityCore/TrinityCore/commit/69f768605082222a3ca573c623d3fc019106be3b)
This commit is contained in:
hondacrx
2022-01-07 10:03:32 -05:00
parent 7a63e227ed
commit 5f8744fa69
9 changed files with 94 additions and 26 deletions
+1 -1
View File
@@ -1842,7 +1842,7 @@ namespace Game
(m_ShutdownTimer < 12 * Time.Hour && (m_ShutdownTimer % Time.Hour) == 0) || // < 12 h ; every 1 h
(m_ShutdownTimer > 12 * Time.Hour && (m_ShutdownTimer % (12 * Time.Hour)) == 0)) // > 12 h ; every 12 h
{
var str = Time.secsToTimeString(m_ShutdownTimer);
var str = Time.secsToTimeString(m_ShutdownTimer, TimeFormat.Numeric);
if (!reason.IsEmpty())
str += " - " + reason;