Fix time interval
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryItems/CoinJoinsHistoryItemViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryItems/CoinJoinsHistoryItemViewModel.cs
@@ -62,8 +62,9 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Home.History.HistoryItems
protected void UpdateDateString()
{
- var firstDate = CoinJoinTransactions.First().DateTime.ToLocalTime();
- var lastDate = CoinJoinTransactions.Last().DateTime.ToLocalTime();
+ var dates = CoinJoinTransactions.Select(tx => tx.DateTime);
+ var firstDate = dates.Min().ToLocalTime();
+ var lastDate = dates.Max().ToLocalTime();
DateString = firstDate.Day == lastDate.Day
? $"{firstDate:MM/dd/yy}"

Fix time interval