Display release date in the local timezone (#4144)

This commit is contained in:
Michael Vines 2019-05-03 14:54:25 -07:00 committed by GitHub
parent ed48d8323c
commit 31b74bdf0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -386,10 +386,7 @@ pub fn info(config_file: &str, local_info_only: bool) -> Result<Option<UpdateMan
fn print_update_manifest(update_manifest: &UpdateManifest) {
let when = Local.timestamp(update_manifest.timestamp_secs as i64, 0);
println_name_value(
&format!("{}release date", BULLET),
&when.format("%c").to_string(),
);
println_name_value(&format!("{}release date", BULLET), &when.to_string());
println_name_value(
&format!("{}download URL", BULLET),
&update_manifest.download_url,