From f92d437a2ac8a935ef3aa7b92ce06eb56cc43ce3 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 30 Dec 2020 20:26:38 +0200 Subject: fix: actually use nanosecond timestamps --- src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::now(); - format!("{}", now.format("%Y-%m-%d %H:%M:%S %z")) + format!("{}", now.format("%Y-%m-%d %H:%M:%S.%f %z")) } -- cgit v1.2.1