Browse Source
Update framework/src/Volo.Abp.Timing/Volo/Abp/Timing/TimeZoneHelper.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/24607/head
Ma Liming
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
framework/src/Volo.Abp.Timing/Volo/Abp/Timing/TimeZoneHelper.cs
|
|
|
@ -28,7 +28,7 @@ public static class TimeZoneHelper |
|
|
|
{ |
|
|
|
var timeZoneInfo = TZConvert.GetTimeZoneInfo(timeZone.Name); |
|
|
|
var name = $"{timeZone.Name} ({GetTimezoneOffset(timeZoneInfo)})"; |
|
|
|
return new NameValue(name, timeZoneInfo.StandardName); |
|
|
|
return new NameValue(name, timeZone.Name); |
|
|
|
} |
|
|
|
catch (TimeZoneNotFoundException) |
|
|
|
{ |
|
|
|
|