未验证 提交 c3f24aef 编写于 作者: O openharmony_ci 提交者: Gitee

!9290 I18nCalendar.GetTimeZone()返回值问题

Merge pull request !9290 from zhangdd_ewan/master
...@@ -310,7 +310,7 @@ describe('CalendarInI18nTest', function () { ...@@ -310,7 +310,7 @@ describe('CalendarInI18nTest', function () {
calendar.setTimeZone('Asia/Shanghai'); calendar.setTimeZone('Asia/Shanghai');
let value = calendar.getTimeZone(); let value = calendar.getTimeZone();
console.log('i18n_calendar_test_1800 ' + value); console.log('i18n_calendar_test_1800 ' + value);
expect(value).assertEqual('China Standard Time'); expect(value).assertEqual('Asia/Shanghai');
}) })
/** /**
...@@ -324,7 +324,7 @@ describe('CalendarInI18nTest', function () { ...@@ -324,7 +324,7 @@ describe('CalendarInI18nTest', function () {
calendar.setTimeZone('AAA'); calendar.setTimeZone('AAA');
let value = calendar.getTimeZone(); let value = calendar.getTimeZone();
console.log('i18n_calendar_test_1900 ' + value); console.log('i18n_calendar_test_1900 ' + value);
expect(value).assertEqual('GMT'); expect(value).assertEqual('Etc/Unknown');
}) })
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册