From ca715bb929b93f58b6472fa080ebbdff56ce8d06 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Thu, 29 Sep 2022 14:07:32 -0500 Subject: [PATCH] tweak the banner message and make the time more accurate (#6641) --- crates/nu-cli/src/repl.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nu-cli/src/repl.rs b/crates/nu-cli/src/repl.rs index 0f0f87ea9..5d987cf63 100644 --- a/crates/nu-cli/src/repl.rs +++ b/crates/nu-cli/src/repl.rs @@ -578,7 +578,7 @@ fn get_banner(engine_state: &mut EngineState, stack: &mut Stack) -> String { engine_state, stack, None, - "(date now) - ('05/10/2019' | into datetime)", + "(date now) - ('2019-05-10 09:59:12-0700' | into datetime)", ) { Ok(Value::Duration { val, .. }) => format_duration(val), _ => "".to_string(), @@ -595,7 +595,7 @@ Our {}GitHub{} repository is at {}https://github.com/nushell/nushell{} Our {}Documentation{} is located at {}http://nushell.sh{} {}Tweet{} us at {}@nu_shell{} -{}Nushell{} has been around for: +It's been this long since {}Nushell{}'s first commit: {} {}You can disable this banner using the {}config nu{}{} command