From a730f60cc0e3a46ae869098ea8355cd3e4c4bee1 Mon Sep 17 00:00:00 2001 From: Ray Kohler Date: Mon, 4 Aug 2025 08:40:02 -0400 Subject: fix: honor timezone in inspector stats (#2853) * fix: honor timezone in inspector stats fixes: #2567 * docs: fix rustdoc warning about URL markup * fix: pass timezone by value, as suggested by clippy (oops) --- crates/atuin-client/src/settings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/atuin-client/src/settings.rs') diff --git a/crates/atuin-client/src/settings.rs b/crates/atuin-client/src/settings.rs index 2ffba5e4..87fe8d32 100644 --- a/crates/atuin-client/src/settings.rs +++ b/crates/atuin-client/src/settings.rs @@ -134,7 +134,7 @@ impl From for interim::Dialect { /// Note that the parsing of this struct needs to be done before starting any /// multithreaded runtime, otherwise it will fail on most Unix systems. /// -/// See: https://github.com/atuinsh/atuin/pull/1517#discussion_r1447516426 +/// See: #[derive(Clone, Copy, Debug, Eq, PartialEq, DeserializeFromStr, Serialize)] pub struct Timezone(pub UtcOffset); impl fmt::Display for Timezone { -- cgit v1.3.1