fix: time offset display in atuin status (#2433)

This commit is contained in:
Reverier Xu 2024-11-10 02:36:11 +08:00 committed by GitHub
parent cc6f57d4e4
commit d7f351e074
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,7 +30,7 @@ pub async fn run(settings: &Settings, db: &impl Database) -> Result<()> {
if settings.auto_sync { if settings.auto_sync {
println!("Sync frequency: {}", settings.sync_frequency); 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 { if !settings.sync.records {