summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-12-30 20:26:38 +0200
committerLars Wirzenius <liw@liw.fi>2020-12-30 20:27:36 +0200
commitf92d437a2ac8a935ef3aa7b92ce06eb56cc43ce3 (patch)
treeedc9a041e5f400c3327c91931a9dfea5370f989d
parent34a881d96d4899c1c29b22b1774968d1bd0e92ed (diff)
downloadobnam2-f92d437a2ac8a935ef3aa7b92ce06eb56cc43ce3.tar.gz
fix: actually use nanosecond timestamps
-rw-r--r--src/client.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.rs b/src/client.rs
index ec99134..5a16a83 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -232,5 +232,5 @@ impl BackupClient {
fn current_timestamp() -> String {
let now: DateTime<Local> = Local::now();
- format!("{}", now.format("%Y-%m-%d %H:%M:%S %z"))
+ format!("{}", now.format("%Y-%m-%d %H:%M:%S.%f %z"))
}