From ed5c11e67209afc6cbdd34b238e850b9ea680041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=9C=E7=90=86=E6=83=B3?= Date: Wed, 6 Jul 2022 01:55:37 +0000 Subject: [PATCH] =?UTF-8?q?update=20zh-cn/application-dev/internationaliza?= =?UTF-8?q?tion/intl-guidelines.md.=20Signed-off-by:=20=20=E6=9D=9C?= =?UTF-8?q?=E7=90=86=E6=83=B3=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zh-cn/application-dev/internationalization/intl-guidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/internationalization/intl-guidelines.md b/zh-cn/application-dev/internationalization/intl-guidelines.md index 27a1786170..b7868477e4 100644 --- a/zh-cn/application-dev/internationalization/intl-guidelines.md +++ b/zh-cn/application-dev/internationalization/intl-guidelines.md @@ -289,7 +289,7 @@ 另一种方法是使用开发者提供的Locale和格式化参数来创建相对时间格式化对象。其中,格式化参数是可选的,完整的参数列表参见[ RelativeTimeFormatInputOptions](../reference/apis/js-apis-intl.md)。 ``` - var relativeTimeFormat = new intl.RelativeTimeFormat("zh-CN", {numeric: "always", style: "long"}; + var relativeTimeFormat = new intl.RelativeTimeFormat("zh-CN", {numeric: "always", style: "long"}); ``` 2. 相对时间格式化 -- GitLab