tasvideos
tasvideos copied to clipboard
On submission limits, the date isn't properly timezone converted
This happens because the server formats the notice in the .cs file: https://github.com/TASVideos/tasvideos/blob/6223a7f3edc48e417221e2b93042289b96c8b503/TASVideos/Pages/Submissions/Submit.cshtml.cs#L220-L230
and then just displays the string: https://github.com/TASVideos/tasvideos/blob/6223a7f3edc48e417221e2b93042289b96c8b503/TASVideos/Pages/Submissions/Submit.cshtml#L14-L21
which makes customizations very difficult.
One such customization is the <timezone-convert> Tag Helper that should be used on the DateTime.