fix: info date format
This commit is contained in:
@@ -20,7 +20,7 @@ pub fn info(path: PathBuf) -> XResult<()> {
|
||||
header("Enc file summary"), meta.version, meta.user_agent)
|
||||
);
|
||||
|
||||
let fmt = simpledateformat::fmt("EEE MMM dd HH:MM:ss z yyyy").unwrap();
|
||||
let fmt = simpledateformat::fmt("EEE MMM dd HH:mm:ss z yyyy").unwrap();
|
||||
infos.push(format!("{}: {}", header("Last modified"), fmt.format_local(from_unix_epoch(meta.file_last_modified))));
|
||||
infos.push(format!("{}: {}", header("Enc file created"), fmt.format_local(from_unix_epoch(meta.created))));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user