diff --git a/crates/assistant/src/slash_command/now_command.rs b/crates/assistant/src/slash_command/now_command.rs index 43e5daa05b5788570604b51c4057a54565471941..4275a9efef215f944dd84a5bb6bea4180ca1b700 100644 --- a/crates/assistant/src/slash_command/now_command.rs +++ b/crates/assistant/src/slash_command/now_command.rs @@ -46,7 +46,7 @@ impl SlashCommand for NowSlashCommand { _cx: &mut WindowContext, ) -> Task> { let now = Local::now(); - let text = format!("Today is {now}.", now = now.to_rfc3339()); + let text = format!("Today is {now}.", now = now.to_rfc2822()); let range = 0..text.len(); Task::ready(Ok(SlashCommandOutput { @@ -54,7 +54,7 @@ impl SlashCommand for NowSlashCommand { sections: vec![SlashCommandOutputSection { range, icon: IconName::CountdownTimer, - label: now.to_rfc3339().into(), + label: now.to_rfc2822().into(), }], run_commands_in_text: false, }))