Closed Masterjun3 closed 1 month ago
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.
<timezone-convert>
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.