Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions dotnet/src/dotnetframework/GxClasses/Core/GXApplication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3727,14 +3727,7 @@ internal string ClientTimeZoneId
{
if (!DateTimeUtil.ValidTimeZone(sTZ))
{
try
{
string invalidTimezone = DateTimeZoneProviders.Tzdb[sTZ].Id;
}
catch (Exception ex)//DateTimeZoneNotFound
{
GXLogging.WarnSanitized(Logger, ex, $"Client timezone not found: {sTZ}");
}
GXLogging.WarnSanitized(Logger, $"Time zone '{sTZ}' is unknown to source TZDB: {DateTimeZoneProviders.Tzdb.VersionId}.");
_currentTimeZoneId = DateTimeZoneProviders.Tzdb.GetSystemDefault().Id;
GXLogging.Warn(Logger, $"Setting Client timezone to System default: {_currentTimeZoneId}");
}
Expand Down
Loading