1
0
mirror of https://github.com/nushell/nushell.git synced 2025-07-08 10:27:47 +02:00

Make date values more readable ()

This commit is contained in:
JT
2022-03-09 05:43:04 -05:00
committed by GitHub
parent 99f7636b03
commit 088d19ad47

@ -428,7 +428,7 @@ impl Value {
Value::Float { val, .. } => val.to_string(),
Value::Filesize { val, .. } => format_filesize(*val, config),
Value::Duration { val, .. } => format_duration(*val),
Value::Date { val, .. } => HumanTime::from(*val).to_string(),
Value::Date { val, .. } => format!("{} ({})", val.to_rfc2822(), HumanTime::from(*val)),
Value::Range { val, .. } => {
format!(
"{}..{}",