mirror of
https://github.com/nushell/nushell.git
synced 2025-01-11 16:58:41 +01:00
Make date values more readable (#4790)
This commit is contained in:
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!(
|
||||
"{}..{}",
|
||||
|
Loading…
Reference in New Issue
Block a user