diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-12-30 20:26:38 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-12-30 20:27:36 +0200 |
commit | f92d437a2ac8a935ef3aa7b92ce06eb56cc43ce3 (patch) | |
tree | edc9a041e5f400c3327c91931a9dfea5370f989d /src/client.rs | |
parent | 34a881d96d4899c1c29b22b1774968d1bd0e92ed (diff) | |
download | obnam2-f92d437a2ac8a935ef3aa7b92ce06eb56cc43ce3.tar.gz |
fix: actually use nanosecond timestamps
Diffstat (limited to 'src/client.rs')
-rw-r--r-- | src/client.rs | 2 |
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")) } |