Skip to content

Commit

Permalink
docs: Typo fix in API-reference.md (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
ledleds authored and iamkun committed Apr 9, 2019
1 parent 800f6c9 commit 5073cbd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/en/API-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ Returns a `string` with the `Dayjs`'s formatted date.
To escape characters, wrap them in square brackets (e.g. `[A] [MM]`).

```js
dayjs().format() // current date in ISO6801, without fraction seconds e.g. '2020-04-02T08:02:17-05:00'
dayjs().format() // current date in ISO8601, without fraction seconds e.g. '2020-04-02T08:02:17-05:00'

dayjs('2019-01-25').format('[YYYY] YYYY-MM-DDTHH:mm:ssZ[Z]') // 'YYYY 2019-01-25T00:00:00-02:00Z'

Expand Down
2 changes: 1 addition & 1 deletion docs/es-es/API-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ Devuelve un dato de tipo `string` con la fecha del objeto `Dayjs` formateada.
Para escapar caracteres, estos se han de encerrar entre corchetes (p.ej.: `[A] [MM]`).

```js
dayjs().format() // fecha actual en ISO6801, sin fracciones de segundo p.ej. '2020-04-02T08:02:17-05:00'
dayjs().format() // fecha actual en ISO8601, sin fracciones de segundo p.ej. '2020-04-02T08:02:17-05:00'

dayjs('2019-01-25').format('[YYYY] YYYY-MM-DDTHH:mm:ssZ[Z]') // 'YYYY 2019-01-25T00:00:00-02:00Z'

Expand Down
2 changes: 1 addition & 1 deletion docs/pt-br/API-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ Retorna uma `string` com um objeto `Dayjs` contendo a data formatada.
Para escapar caracteres, envolva-os entre colchetes (por exemplo: `[A] [MM]`).

```js
dayjs().format() // current date in ISO6801, without fraction seconds e.g. '2020-04-02T08:02:17-05:00'
dayjs().format() // current date in ISO8601, without fraction seconds e.g. '2020-04-02T08:02:17-05:00'

dayjs('2019-01-25').format('[YYYY] YYYY-MM-DDTHH:mm:ssZ[Z]') // 'YYYY 2019-01-25T00:00:00-02:00Z'

Expand Down

0 comments on commit 5073cbd

Please sign in to comment.