mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 12:15:42 +02:00
update date to-timezone usage (#3223)
This commit is contained in:
@ -27,10 +27,11 @@ impl WholeStreamCommand for Date {
|
||||
}
|
||||
|
||||
fn usage(&self) -> &str {
|
||||
"Convert a date to a given time zone.
|
||||
"Convert a date to a given time zone."
|
||||
}
|
||||
|
||||
Use `date list-timezone` to list all supported time zones.
|
||||
"
|
||||
fn extra_usage(&self) -> &str {
|
||||
"Use 'date list-timezone' to list all supported time zones."
|
||||
}
|
||||
|
||||
async fn run(&self, args: CommandArgs) -> Result<OutputStream, ShellError> {
|
||||
|
Reference in New Issue
Block a user