Compare commits

..

2 Commits

Author SHA1 Message Date
Boris Milašinović
d06433e2f6 Fix date format 2026-04-29 09:30:38 +02:00
Boris Milašinović
0914753c0a IOptionsSnapshot instead of IOptions 2026-04-28 00:44:18 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ public class PagerTagHelper : TagHelper
private readonly IUrlHelperFactory urlHelperFactory;
private readonly PagingSettings pagingSettings;
public PagerTagHelper(IUrlHelperFactory urlHelperFactory, IOptions<PagingSettings> pagingSettings)
public PagerTagHelper(IUrlHelperFactory urlHelperFactory, IOptionsSnapshot<PagingSettings> pagingSettings)
{
this.urlHelperFactory = urlHelperFactory;
this.pagingSettings = pagingSettings.Value;

View File

@@ -22,7 +22,7 @@
<td class="text-center">@person.FirstNameTranscription</td>
<td class="text-left">@person.LastNameTranscription</td>
<td class="text-center">@person.OriginalName</td>
<td class="text-center">@person.BirthDate.ToString("yyy-MM-dd")</td>
<td class="text-center">@person.BirthDate.ToString("yyyy-MM-dd")</td>
<td class="text-center">@person.CountryName</td>
</tr>
}