Time Zone ID not Found; use Hangfire.Core.ITimeZoneResolver
Opened this issue · 0 comments
mack0196 commented
Instead of using system times zones via TimeZoneInfo; ctor resolve and use Hangfire.Core.ITimeZoneResolver
public static DateTime ChangeTimeZone(this DateTime dateTime, string timeZoneId) => TimeZoneInfo.ConvertTimeBySystemTimeZoneId(dateTime, timeZoneId);