[Applications.Common] Fix OnTimeZoneChanged method (#6943)
authorhjhun <36876573+hjhun@users.noreply.github.com>
Wed, 4 Jun 2025 06:19:41 +0000 (15:19 +0900)
committerGitHub <noreply@github.com>
Wed, 4 Jun 2025 06:19:41 +0000 (15:19 +0900)
This patch adds to call the CultureInfo.CurrentCulture.ClearCacheData()
in the OnTimeZoneChanged() method.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/Tizen.Applications.Common/Tizen.Applications/CoreApplication.cs

index 1e04fc155ccaf8e6e190fb451f0aa3828b0c2bfc..ddfa5b7a6e5d842b2aa38092c7eb45b90fc568cd 100644 (file)
@@ -331,6 +331,7 @@ namespace Tizen.Applications
         /// <since_tizen> 11 </since_tizen>
         protected virtual void OnTimeZoneChanged(TimeZoneChangedEventArgs e)
         {
+            CultureInfo.CurrentCulture.ClearCachedData();
             TimeZoneChanged?.Invoke(this, e);
         }