Show the timezone in --info
This commit is contained in:
@@ -697,7 +697,7 @@ fn mode_info(cmd: &mut Command, args: Args, ids: &mut Vec<i64>, tags: &mut Vec<S
|
|||||||
Cell::new(&item_id.to_string())
|
Cell::new(&item_id.to_string())
|
||||||
]));
|
]));
|
||||||
|
|
||||||
let ts_cell = Cell::new(&item.ts.with_timezone(&Local).format("%F %T").to_string());
|
let ts_cell = Cell::new(&item.ts.with_timezone(&Local).format("%F %T %Z").to_string());
|
||||||
|
|
||||||
table.add_row(Row::new(vec![
|
table.add_row(Row::new(vec![
|
||||||
Cell::new("Timestamp").with_style(Attr::Bold),
|
Cell::new("Timestamp").with_style(Attr::Bold),
|
||||||
|
|||||||
Reference in New Issue
Block a user