mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 02:55:07 +02:00
add date humanize
command (#3833)
* add `date humanize` command * add docs
This commit is contained in:
24
docs/commands/date-humanize.md
Normal file
24
docs/commands/date-humanize.md
Normal file
@ -0,0 +1,24 @@
|
||||
# date humanize
|
||||
Print a 'humanized' format for the date, relative to now.
|
||||
|
||||
## Usage
|
||||
```shell
|
||||
> date humanize
|
||||
```
|
||||
|
||||
## Flags
|
||||
* -h, --help: Display this help message
|
||||
* -t, --table: print date in a table
|
||||
|
||||
## Examples
|
||||
Format the current date
|
||||
```shell
|
||||
> date now | date humanize
|
||||
```
|
||||
|
||||
Format the current date and print in a table
|
||||
```shell
|
||||
> date now | date humanize -t
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user