aboutsummaryrefslogtreecommitdiffstats
path: root/atuin-client
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@elliehuxtable.com>2022-09-13 20:03:52 +0100
committerGitHub <noreply@github.com>2022-09-13 19:03:52 +0000
commit41eed3f6a119bb796abcb4eea4f7d2965e402efc (patch)
tree6f557a432d4235ad316223b21612a74785321202 /atuin-client
parentcustom history list (#524) (diff)
downloadatuin-41eed3f6a119bb796abcb4eea4f7d2965e402efc.zip
Release v11 (#529)
Diffstat (limited to 'atuin-client')
-rw-r--r--atuin-client/Cargo.toml4
-rw-r--r--atuin-client/src/sync.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/atuin-client/Cargo.toml b/atuin-client/Cargo.toml
index 8dd71430..7441640c 100644
--- a/atuin-client/Cargo.toml
+++ b/atuin-client/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "atuin-client"
-version = "0.10.0"
+version = "11.0.0"
authors = ["Ellie Huxtable <ellie@elliehuxtable.com>"]
edition = "2018"
license = "MIT"
@@ -23,7 +23,7 @@ sync = [
]
[dependencies]
-atuin-common = { path = "../atuin-common", version = "0.10.0" }
+atuin-common = { path = "../atuin-common", version = "11.0.0" }
log = "0.4"
chrono = { version = "0.4", features = ["serde"] }
diff --git a/atuin-client/src/sync.rs b/atuin-client/src/sync.rs
index 4ddaf514..db1ba89c 100644
--- a/atuin-client/src/sync.rs
+++ b/atuin-client/src/sync.rs
@@ -75,7 +75,7 @@ async fn sync_download(
// timestamps
if page_last == last_timestamp {
last_timestamp = Utc.timestamp_millis(0);
- last_sync = last_sync - chrono::Duration::hours(1);
+ last_sync -= chrono::Duration::hours(1);
} else {
last_timestamp = page_last;
}