Skip to content
Open
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

<ItemGroup>
<PackageReference Include="Hangfire.Core" Version="1.6.0" />
<PackageReference Include="TimeZoneConverter" Version="2.4.2"/>
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public override object ReadJson(JsonReader reader, Type objectType, object exist

if (reader.Value == null) return null;

return TimeZoneInfo.FindSystemTimeZoneById(reader.Value.ToString());
return TimeZoneConverter.TZConvert.GetTimeZoneInfo(reader.Value.ToString());
}
/// <summary>
/// Writes the JSON representation of the <see cref="TimeZoneInfo"/>.
Expand Down