aboutsummaryrefslogtreecommitdiff
path: root/modules/log_json.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/log_json.cpp')
-rw-r--r--modules/log_json.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/log_json.cpp b/modules/log_json.cpp
index 5ab03ed75..74ea65d67 100644
--- a/modules/log_json.cpp
+++ b/modules/log_json.cpp
@@ -1,7 +1,7 @@
/*
* InspIRCd -- Internet Relay Chat Daemon
*
- * Copyright (C) 2022-2024 Sadie Powell <sadie@witchery.services>
+ * Copyright (C) 2022-2025 Sadie Powell <sadie@witchery.services>
*
* This file is part of InspIRCd. InspIRCd is free software: you can
* redistribute it and/or modify it under the terms of the GNU General Public
@@ -66,7 +66,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);