diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/buildtool/logging/log_sink_file.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/logging/log_sink_file.hpp b/src/buildtool/logging/log_sink_file.hpp index ec9ee257..1ff6ad47 100644 --- a/src/buildtool/logging/log_sink_file.hpp +++ b/src/buildtool/logging/log_sink_file.hpp @@ -102,10 +102,10 @@ class LogSinkFile final : public ILogSink { timespec ts{}; clock_gettime(CLOCK_REALTIME, &ts); auto timestamp = fmt::format( - "{:%Y-%m-%d %H:%M:%S}.{}", fmt::localtime(ts.tv_sec), ts.tv_nsec); + "{:%Y-%m-%d %H:%M:%S}.{} UTC", fmt::gmtime(ts.tv_sec), ts.tv_nsec); #else auto timestamp = fmt::format( - "{:%Y-%m-%d %H:%M:%S}", fmt::localtime(std::time(nullptr)); + "{:%Y-%m-%d %H:%M:%S} UTC", fmt::gmtime(std::time(nullptr)); #endif std::ostringstream id{}; |