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
4 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
1 deletions
-
framework/src/Volo.Abp.Timing/Volo/Abp/Timing/TimeZoneHelper.cs
|
|
|
@ -20,7 +20,8 @@ public static class TimeZoneHelper |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Builds a <see cref="NameValue"/> that includes the UTC offset in the name; returns null if the id is not found.
|
|
|
|
/// Builds a <see cref="NameValue"/> with the original timezone ID in <c>Value</c> and a display name that includes
|
|
|
|
/// the UTC offset in the <c>Name</c> property; returns null if the id is not found.
|
|
|
|
/// </summary>
|
|
|
|
public static NameValue? TryCreateNameValueWithOffset(NameValue timeZone) |
|
|
|
{ |
|
|
|
|