aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel <kingdread@gmx.de>2018-10-20 16:58:11 +0200
committerDaniel <kingdread@gmx.de>2018-10-20 16:58:11 +0200
commitc685546765513abd32b9b03cdf5dabc42d96f2d2 (patch)
treef2bb38ce03ea5f59b86a1f3acf4da376a705e83e
parentc36b5d1fe4203b2084feeb134fae498cef9ea636 (diff)
downloadraidgrep-c685546765513abd32b9b03cdf5dabc42d96f2d2.tar.gz
raidgrep-c685546765513abd32b9b03cdf5dabc42d96f2d2.tar.bz2
raidgrep-c685546765513abd32b9b03cdf5dabc42d96f2d2.zip
add weekday to output format
-rw-r--r--src/output.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output.rs b/src/output.rs
index 3a06973..fcbda1b 100644
--- a/src/output.rs
+++ b/src/output.rs
@@ -15,7 +15,7 @@ pub fn colored<W: Write>(mut f: W, item: &LogResult) -> Result<(), RuntimeError>
f,
"{}: {} - {}: {} {}",
"Date".green(),
- item.time,
+ item.time.format("%Y-%m-%d %H:%M:%S %a"),
"Boss".green(),
item.boss_name,
outcome,