diff options
author | Daniel <kingdread@gmx.de> | 2018-10-20 16:58:11 +0200 |
---|---|---|
committer | Daniel <kingdread@gmx.de> | 2018-10-20 16:58:11 +0200 |
commit | c685546765513abd32b9b03cdf5dabc42d96f2d2 (patch) | |
tree | f2bb38ce03ea5f59b86a1f3acf4da376a705e83e /src | |
parent | c36b5d1fe4203b2084feeb134fae498cef9ea636 (diff) | |
download | raidgrep-c685546765513abd32b9b03cdf5dabc42d96f2d2.tar.gz raidgrep-c685546765513abd32b9b03cdf5dabc42d96f2d2.tar.bz2 raidgrep-c685546765513abd32b9b03cdf5dabc42d96f2d2.zip |
add weekday to output format
Diffstat (limited to 'src')
-rw-r--r-- | src/output.rs | 2 |
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, |