aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReverier Xu <reverier.xu@outlook.com>2024-11-10 02:36:11 +0800
committerGitHub <noreply@github.com>2024-11-09 10:36:11 -0800
commitd7f351e074887674607025b7e01be9e90f497732 (patch)
tree2b366210977dd850a14a4e9dfb46cf8e037f3c61
parentchore(deps): flake.lock: Update (#2437) (diff)
downloadatuin-d7f351e074887674607025b7e01be9e90f497732.zip
fix: time offset display in `atuin status` (#2433)
-rw-r--r--crates/atuin/src/command/client/sync/status.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/atuin/src/command/client/sync/status.rs b/crates/atuin/src/command/client/sync/status.rs
index 77dfd529..f59ef5b9 100644
--- a/crates/atuin/src/command/client/sync/status.rs
+++ b/crates/atuin/src/command/client/sync/status.rs
@@ -30,7 +30,7 @@ pub async fn run(settings: &Settings, db: &impl Database) -> Result<()> {
if settings.auto_sync {
println!("Sync frequency: {}", settings.sync_frequency);
- println!("Last sync: {last_sync}");
+ println!("Last sync: {}", last_sync.to_offset(settings.timezone.0));
}
if !settings.sync.records {