Auto-generate markdown command docs (#4451)

* Finish updating

* a couple improvements

* Update renames

* cleanup examples
This commit is contained in:
JT
2022-02-13 21:22:51 -05:00
committed by GitHub
parent 06f5affc0b
commit 8c0a2d3c15
478 changed files with 7676 additions and 8045 deletions

View File

@ -0,0 +1,33 @@
---
title: date format
layout: command
version: 0.59.0
---
Format a given date using the given format string.
## Signature
```> date format (format string)```
## Parameters
- `format string`: the desired date format
## Examples
Format a given date using the given format string.
```shell
> date format '%Y-%m-%d'
```
Format a given date using the given format string.
```shell
> date format "%Y-%m-%d %H:%M:%S"
```
Format a given date using the given format string.
```shell
> "2021-10-22 20:00:12 +01:00" | date format "%Y-%m-%d"
```