mirror of
https://github.com/nushell/nushell
synced 2024-12-31 23:39:00 +00:00
fcd624a722
* add `date humanize` command * add docs
24 lines
375 B
Markdown
24 lines
375 B
Markdown
# 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
|
|
```
|
|
|
|
|