diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_alltime.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_alltime.cpp b/src/modules/m_alltime.cpp index 1ffd7c5b5..525402541 100644 --- a/src/modules/m_alltime.cpp +++ b/src/modules/m_alltime.cpp @@ -29,8 +29,8 @@ class CommandAlltime : public Command { char fmtdate[64]; time_t now = ServerInstance->Time(); - strftime(fmtdate, sizeof(fmtdate), "%F %T", gmtime(&now)); - + strftime(fmtdate, sizeof(fmtdate), "%Y-%m-%d %H:%M:%S", gmtime(&now)); + std::string msg = ":" + std::string(ServerInstance->Config->ServerName) + " NOTICE " + user->nick + " :System time for " + ServerInstance->Config->ServerName + " is: " + fmtdate; |