diff options
| author | 2025-03-23 11:32:12 +0000 | |
|---|---|---|
| committer | 2025-03-23 14:40:17 +0000 | |
| commit | f76dcfc20f72c45d14d76b2d82f707d0a513d1bb (patch) | |
| tree | 8a7c3e4517881d6b7ca77d9e1b04c7f14630f0c4 /src/modules/extra | |
| parent | Allow using the long duration format in the xline message. (diff) | |
Add constants for the common time formats.
Diffstat (limited to 'src/modules/extra')
| -rw-r--r-- | src/modules/extra/m_log_json.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_log_json.cpp b/src/modules/extra/m_log_json.cpp index d1886c809..159e661a5 100644 --- a/src/modules/extra/m_log_json.cpp +++ b/src/modules/extra/m_log_json.cpp @@ -94,7 +94,7 @@ public: if (prevtime != time) { prevtime = time; - timestr = Time::ToString(prevtime, "%Y-%m-%dT%H:%M:%S%z"); + timestr = Time::ToString(prevtime, Time::ISO_8601); } const auto* levelstr = Log::LevelToString(level); |
