Skip to content
Permalink
Browse files
fix double timezone conversion, I can't explain how this happened, bu…
…t it is fixed. Fixes #1225
  • Loading branch information
adelikat committed Apr 10, 2022
1 parent 0a0f018 commit ab797a7c30d11ddcb982ce17ab326a892d7e344a
Showing with 0 additions and 5 deletions.
  1. +0 −5 TASVideos/TagHelpers/TimeZoneConvert.cs
@@ -53,11 +53,6 @@ public override async Task ProcessAsync(TagHelperContext context, TagHelperOutpu
{
dateTime = TimeZoneInfo.ConvertTimeFromUtc(dateTime, userTimeZone);
}

if (userTimeZone != null)
{
dateTime = TimeZoneInfo.ConvertTimeFromUtc(dateTime, userTimeZone);
}
}

if (userTimeZone is not null)

0 comments on commit ab797a7

Please sign in to comment.