1
0
mirror of https://github.com/nushell/nushell.git synced 2025-01-16 19:29:31 +01:00
nushell/crates/nu-command/tests/commands/date
WindSoilder 14bf25da14
rename from date format to format date ()
# Description
Closes: 
I also think it's good to keep command name consistency.

And moving `date format` to deprecated.

# User-Facing Changes
Running `date format` will lead to deprecate message:
```nushell
❯ "2021-10-22 20:00:12 +01:00" | date format
Error: nu:🐚:deprecated_command

  × Deprecated command date format
   ╭─[entry #28:1:1]
 1 │ "2021-10-22 20:00:12 +01:00" | date format
   ·                                ─────┬─────
   ·                                     ╰── 'date format' is deprecated. Please use 'format date' instead.
   ╰────
```
2023-08-04 06:06:00 +12:00
..
format.rs rename from date format to format date () 2023-08-04 06:06:00 +12:00
mod.rs fix date format () 2022-05-23 09:59:34 -07:00