Revert previous, commit, use UTC RFC3339 without timezone (Z)

We now have human readable data/time, and names are still sortable.
This commit is contained in:
Dietmar Maurer
2019-07-22 10:12:51 +02:00
parent 10c2a21cfe
commit fa5d6977dd
4 changed files with 35 additions and 26 deletions

View File

@ -4,7 +4,7 @@ use http::Uri;
use hyper::Body;
use hyper::client::Client;
use xdg::BaseDirectories;
use chrono::{DateTime, Local, Utc};
use chrono::{DateTime, Utc};
use std::collections::HashSet;
use std::sync::{Arc, Mutex};
use std::io::Write;
@ -283,7 +283,7 @@ impl HttpClient {
datastore: &str,
backup_type: &str,
backup_id: &str,
backup_time: DateTime<Local>,
backup_time: DateTime<Utc>,
debug: bool,
) -> impl Future<Item=Arc<BackupReader>, Error=Error> {