From 84d35414526a9a69dadcb7a0d365c69d87618842 Mon Sep 17 00:00:00 2001 From: yangpeng85 Date: Wed, 20 Jul 2022 10:58:26 +0800 Subject: [PATCH] fix get time format failed after reboot Signed-off-by: yangpeng85 --- common/src/main/ets/default/TimeManager.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/common/src/main/ets/default/TimeManager.ts b/common/src/main/ets/default/TimeManager.ts index aa43ff0..d7d187b 100644 --- a/common/src/main/ets/default/TimeManager.ts +++ b/common/src/main/ets/default/TimeManager.ts @@ -88,6 +88,7 @@ class TimeManager { } this.handleTimeFormatChange(); }); + this.handleTimeFormatChange(); } catch (e) { Log.showError(TAG, `Can't listen timeformate change.`); }