From 65ad74869f0addfa82e1944570aa87c77ea8849a Mon Sep 17 00:00:00 2001 From: iamkun Date: Fri, 25 May 2018 14:51:58 +0800 Subject: [PATCH] docs: small fix --- docs/en/API-reference.md | 4 ++-- docs/en/Plugin.md | 2 +- docs/ja/API-reference.md | 4 ++-- docs/ja/Plugin.md | 2 +- docs/pt-br/API-reference.md | 4 ++-- docs/pt-br/Plugin.md | 2 +- docs/zh-cn/API-reference.md | 4 ++-- docs/zh-cn/Plugin.md | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/en/API-reference.md b/docs/en/API-reference.md index 04f5b21b..a5420977 100644 --- a/docs/en/API-reference.md +++ b/docs/en/API-reference.md @@ -388,6 +388,6 @@ dayjs('2000-01-01').isLeapYear(); // true ### RelativeTime -`.from`, `.to`, `.fromNow`, `.toNow` to get relative time +`.from` `.to` `.fromNow` `.toNow` to get relative time -plugin [`RelativeTime`](./Plugin.md#relativeTime) +plugin [`RelativeTime`](./Plugin.md#relativetime) diff --git a/docs/en/Plugin.md b/docs/en/Plugin.md index 9912aaff..c76f3318 100644 --- a/docs/en/Plugin.md +++ b/docs/en/Plugin.md @@ -66,7 +66,7 @@ List of added formats: | `x` | 1360013296123 | Unix Timestamp in millisecond | ### RelativeTime - - RelativeTime adds `.from`, `.to`, `.fromNow`, `.toNow` APIs to formats date to relative time strings (e.g. 3 hours ago). + - RelativeTime adds `.from` `.to` `.fromNow` `.toNow` APIs to formats date to relative time strings (e.g. 3 hours ago). ```javascript import relativeTime from 'dayjs/plugin/relativeTime' diff --git a/docs/ja/API-reference.md b/docs/ja/API-reference.md index 65d6bf9a..f86061e8 100644 --- a/docs/ja/API-reference.md +++ b/docs/ja/API-reference.md @@ -461,6 +461,6 @@ dayjs('2000-01-01').isLeapYear(); // true ### RelativeTime -`.from`, `.to`, `.fromNow`, `.toNow` to get relative time +`.from` `.to` `.fromNow` `.toNow` to get relative time -plugin [`RelativeTime`](./Plugin.md#relativeTime) +plugin [`RelativeTime`](./Plugin.md#relativetime) diff --git a/docs/ja/Plugin.md b/docs/ja/Plugin.md index d2face27..1c3836f1 100644 --- a/docs/ja/Plugin.md +++ b/docs/ja/Plugin.md @@ -67,7 +67,7 @@ dayjs().format('Q Do k kk X x') | `x` | 1360013296123 | Unix タイムスタンプ (ミリ秒) | ### RelativeTime - - RelativeTime adds `.from`, `.to`, `.fromNow`, `.toNow` APIs to formats date to relative time strings (e.g. 3 hours ago). + - RelativeTime adds `.from` `.to` `.fromNow` `.toNow` APIs to formats date to relative time strings (e.g. 3 hours ago). ```javascript import relativeTime from 'dayjs/plugin/relativeTime' diff --git a/docs/pt-br/API-reference.md b/docs/pt-br/API-reference.md index 2072f1a9..ec54d62b 100644 --- a/docs/pt-br/API-reference.md +++ b/docs/pt-br/API-reference.md @@ -439,6 +439,6 @@ dayjs('2000-01-01').isLeapYear(); // true ### RelativeTime -`.from`, `.to`, `.fromNow`, `.toNow` to get relative time +`.from` `.to` `.fromNow` `.toNow` to get relative time -plugin [`RelativeTime`](./Plugin.md#relativeTime) +plugin [`RelativeTime`](./Plugin.md#relativetime) diff --git a/docs/pt-br/Plugin.md b/docs/pt-br/Plugin.md index f61f8f8c..f67d2c67 100644 --- a/docs/pt-br/Plugin.md +++ b/docs/pt-br/Plugin.md @@ -66,7 +66,7 @@ Lista de formatos adicionados: | `x` | 1360013296123 | Unix Timestamp em milissegundos | ### RelativeTime - - RelativeTime adds `.from`, `.to`, `.fromNow`, `.toNow` APIs to formats date to relative time strings (e.g. 3 hours ago). + - RelativeTime adds `.from` `.to` `.fromNow` `.toNow` APIs to formats date to relative time strings (e.g. 3 hours ago). ```javascript import relativeTime from 'dayjs/plugin/relativeTime' diff --git a/docs/zh-cn/API-reference.md b/docs/zh-cn/API-reference.md index e060c2d4..52519402 100644 --- a/docs/zh-cn/API-reference.md +++ b/docs/zh-cn/API-reference.md @@ -336,6 +336,6 @@ dayjs('2000-01-01').isLeapYear(); // true ### 相对时间 -`.from`, `.to`, `.fromNow`, `.toNow` 获得相对时间 +`.from` `.to` `.fromNow` `.toNow` 获得相对时间 -插件 [`RelativeTime`](./Plugin.md#relativeTime) \ No newline at end of file +插件 [`RelativeTime`](./Plugin.md#relativetime) \ No newline at end of file diff --git a/docs/zh-cn/Plugin.md b/docs/zh-cn/Plugin.md index 54f3a458..810d2f2c 100644 --- a/docs/zh-cn/Plugin.md +++ b/docs/zh-cn/Plugin.md @@ -66,7 +66,7 @@ dayjs().format('Q Do k kk X x') | `x` | 1360013296123 | 毫秒单位的Unix时间戳 | ### RelativeTime - - RelativeTime 增加了 `.from`, `.to`, `.fromNow`, `.toNow` 4个 API 来展示相对的时间 (e.g. 3 小时以前). + - RelativeTime 增加了 `.from` `.to` `.fromNow` `.toNow` 4个 API 来展示相对的时间 (e.g. 3 小时以前). ```javascript import relativeTime from 'dayjs/plugin/relativeTime'