From a745f095147aac939c6bf246fe1847631b3e8c10 Mon Sep 17 00:00:00 2001 From: Igor Sirotin Date: Fri, 20 Sep 2024 19:50:36 +0100 Subject: [PATCH] fix: logs in utc time (#16373) * chore_: update nim-chronicles * fix: chronicles_timestamps RfcUtcTime --- config.nims | 3 ++- vendor/nim-chronicles | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config.nims b/config.nims index 03c918af12..c27f347cca 100644 --- a/config.nims +++ b/config.nims @@ -37,7 +37,8 @@ else: # don't link libraries we're not actually using switch("passL", "-Wl,-as-needed") ---define:chronicles_line_numbers # useful when debugging +--define:chronicles_line_numbers # useful when debugging= +switch("define", "chronicles_timestamps=RfcUtcTime") # The compiler doth protest too much, methinks, about all these cases where it can't # do its (N)RVO pass: https://github.com/nim-lang/RFCs/issues/230 diff --git a/vendor/nim-chronicles b/vendor/nim-chronicles index 33761a5f77..1ac2715bbb 160000 --- a/vendor/nim-chronicles +++ b/vendor/nim-chronicles @@ -1 +1 @@ -Subproject commit 33761a5f77610d3f87f774244490eae43a9ac5a1 +Subproject commit 1ac2715bbbb1f2931ce2d32fe05b70f8d47fe413