未验证 提交 dabcd3d0 编写于 作者: Z zhangdd_ewan 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-i18n.md.

Signed-off-by: Nzhangdd_ewan <zhangdongdong50@huawei.com>
上级 94206e57
......@@ -1759,7 +1759,7 @@ static getTimezonesByLocation(longitude: number, latitude: number): Array&lt;Tim
| Array<TimeZone> | 时区对象的数组 |
**示例:**
```ts
```js
let timezoneArray = I18n.TimeZone.getTimezonesByLocation(-118.1, 34.0);
for (var i = 0; i < timezoneArray.length; i++) {
let tzId = timezoneArray[i].getID();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册