mirror of
https://github.com/nushell/nushell.git
synced 2025-03-30 10:37:29 +02:00
# Description Closes: #9891 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. ╰──── ```
19 lines
497 B
Rust
19 lines
497 B
Rust
mod date_;
|
|
mod humanize;
|
|
mod list_timezone;
|
|
mod now;
|
|
mod parser;
|
|
mod to_record;
|
|
mod to_table;
|
|
mod to_timezone;
|
|
mod utils;
|
|
|
|
pub use date_::Date;
|
|
pub use humanize::SubCommand as DateHumanize;
|
|
pub use list_timezone::SubCommand as DateListTimezones;
|
|
pub use now::SubCommand as DateNow;
|
|
pub use to_record::SubCommand as DateToRecord;
|
|
pub use to_table::SubCommand as DateToTable;
|
|
pub use to_timezone::SubCommand as DateToTimezone;
|
|
pub(crate) use utils::{generate_strftime_list, parse_date_from_string};
|