mirror of
https://github.com/creating2morrow/neveko.git
synced 2024-12-22 19:49:24 +00:00
make vendor order management dates human readable
This commit is contained in:
parent
90b0b14b49
commit
565ceace62
1 changed files with 5 additions and 1 deletions
|
@ -1555,7 +1555,11 @@ impl eframe::App for MarketApp {
|
||||||
ui.label(format!("{}", o.status));
|
ui.label(format!("{}", o.status));
|
||||||
});
|
});
|
||||||
row.col(|ui| {
|
row.col(|ui| {
|
||||||
ui.label(format!("{}", o.date));
|
let h_date =
|
||||||
|
chrono::NaiveDateTime::from_timestamp_opt(o.date, 0)
|
||||||
|
.unwrap()
|
||||||
|
.to_string();
|
||||||
|
ui.label(format!("{}", h_date));
|
||||||
});
|
});
|
||||||
row.col(|ui| {
|
row.col(|ui| {
|
||||||
ui.label(format!("{}", o.subaddress));
|
ui.label(format!("{}", o.subaddress));
|
||||||
|
|
Loading…
Reference in a new issue