Helper for building TimeZone
Use zoneinfo claim of User attributes for mapping UTC datetime to the user TimeZone.
You can use the services ITimeZoneHelper in your own.
Like all Nuget package: Install-Package GST.Library.TimeZone
In the Startup file, You have to add the code bellow :
public void ConfigureServices(IServiceCollection services)
{
//...
services.AddTimeZoneService();
services.AddMvc(option => option.UseDateTimeProvider(services))
.AddJsonOptions(jsonOption =>
jsonOption.UseDateTimeConverter(services));
//...
}