mirror of
https://github.com/nushell/nushell.git
synced 2024-11-25 01:43:47 +01:00
ffddee5678
# Description This PR adds a little more granularity when using `into record` with dates. ### Before ```nushell ❯ date now | into record ╭──────────┬────────╮ │ year │ 2024 │ │ month │ 8 │ │ day │ 19 │ │ hour │ 18 │ │ minute │ 31 │ │ second │ 27 │ │ timezone │ -05:00 │ ╰──────────┴────────╯ ``` ### After ```nushell ❯ date now | into record ╭─────────────┬────────╮ │ year │ 2024 │ │ month │ 8 │ │ day │ 19 │ │ hour │ 18 │ │ minute │ 30 │ │ second │ 51 │ │ millisecond │ 928 │ │ microsecond │ 980 │ │ nanosecond │ 0 │ │ timezone │ -05:00 │ ╰─────────────┴────────╯ ``` |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
LICENSE | ||
README.md |
This crate contains the majority of our commands
We allow ourselves to move some of the commands in nu-command
to nu-cmd-*
crates as needed.
Internal Nushell crate
This crate implements components of Nushell and is not designed to support plugin authors or other users directly.