fix editorconfig and run code cleanup (#2324)
* fix formatting rules * reformat ersatztv * reformat ersatztv.application * reformat ersatztv.core * refactor ersatztv.core.tests * reformat ersatztv.ffmpeg * reformat ersatztv.ffmpeg.tests * reformat ersatztv.infrastructure * cleanup infra mysql * cleanup infra sqlite * cleanup infra tests * cleanup ersatztv.scanner * cleanup ersatztv.scanner.tests * sln cleanup * update dependencies
This commit is contained in:
@@ -10,7 +10,7 @@ public class TemplateFunctions(ILogger<TemplateFunctions> logger)
|
||||
{
|
||||
try
|
||||
{
|
||||
var tz = TZConvert.GetTimeZoneInfo(timeZoneId);
|
||||
TimeZoneInfo tz = TZConvert.GetTimeZoneInfo(timeZoneId);
|
||||
return TimeZoneInfo.ConvertTime(dateTimeOffset, tz);
|
||||
}
|
||||
catch (TimeZoneNotFoundException ex)
|
||||
@@ -24,7 +24,7 @@ public class TemplateFunctions(ILogger<TemplateFunctions> logger)
|
||||
{
|
||||
try
|
||||
{
|
||||
var tz = TZConvert.GetTimeZoneInfo(timeZoneId);
|
||||
TimeZoneInfo tz = TZConvert.GetTimeZoneInfo(timeZoneId);
|
||||
dateTimeOffset = TimeZoneInfo.ConvertTime(dateTimeOffset, tz);
|
||||
}
|
||||
catch (TimeZoneNotFoundException ex)
|
||||
|
||||
Reference in New Issue
Block a user