diff options
| author | 2014-06-13 00:09:34 +0100 | |
|---|---|---|
| committer | 2014-06-25 14:41:01 +0200 | |
| commit | 1cf85908164d97dfa385c75b9f817905a8a75e78 (patch) | |
| tree | dd6598cebcf92d2d78304046960cf3d85ee78e72 /src/modules/m_alltime.cpp | |
| parent | Add formatting to InspIRCd::TimeString; switch all code to use it. (diff) | |
Add parameter to InspIRCd::TimeString for UTC time formats.
Missing doc added by @attilamolnar
Diffstat (limited to 'src/modules/m_alltime.cpp')
| -rw-r--r-- | src/modules/m_alltime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_alltime.cpp b/src/modules/m_alltime.cpp index ceee4abbc..075064c62 100644 --- a/src/modules/m_alltime.cpp +++ b/src/modules/m_alltime.cpp @@ -31,7 +31,7 @@ class CommandAlltime : public Command CmdResult Handle(const std::vector<std::string> ¶meters, User *user) { - const std::string fmtdate = InspIRCd::TimeString(ServerInstance->Time(), "%Y-%m-%d %H:%M:%S"); + const std::string fmtdate = InspIRCd::TimeString(ServerInstance->Time(), "%Y-%m-%d %H:%M:%S", true); std::string msg = ":" + ServerInstance->Config->ServerName + " NOTICE " + user->nick + " :System time is " + fmtdate + " (" + ConvToStr(ServerInstance->Time()) + ") on " + ServerInstance->Config->ServerName; |
