display years with 4 digit
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryItems/CoinJoinHistoryItemViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryItems/CoinJoinHistoryItemViewModel.cs
@@ -40,7 +40,7 @@ public class CoinJoinHistoryItemViewModel : HistoryItemViewModelBase
RoutableViewModel.Navigate(NavigationTarget.DialogScreen).To(
new CoinJoinDetailsViewModel(this, updateTrigger)));
- DateString = $"{Date.ToLocalTime():MM/dd/yy HH:mm}";
+ DateString = $"{Date.ToLocalTime():MM/dd/yyyy HH:mm}";
}
public bool IsSingleCoinJoinTransaction { get; }

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryItems/CoinJoinsHistoryItemViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryItems/CoinJoinsHistoryItemViewModel.cs
@@ -91,8 +91,8 @@ public class CoinJoinsHistoryItemViewModel : HistoryItemViewModelBase
var lastDate = dates.Max().ToLocalTime();
DateString = firstDate.Day == lastDate.Day
- ? $"{firstDate:MM/dd/yy}"
- : $"{firstDate:MM/dd/yy} - {lastDate:MM/dd/yy}";
+ ? $"{firstDate:MM/dd/yyyy}"
+ : $"{firstDate:MM/dd/yyyy} - {lastDate:MM/dd/yyyy}";
}
public void SetBalance(Money balance)

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryItems/TransactionHistoryItemViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryItems/TransactionHistoryItemViewModel.cs
@@ -50,6 +50,6 @@ public class TransactionHistoryItemViewModel : HistoryItemViewModelBase
},
speedUpTransactionCommandCanExecute);
- DateString = $"{Date.ToLocalTime():MM/dd/yy HH:mm}";
+ DateString = $"{Date.ToLocalTime():MM/dd/yyyy HH:mm}";
}
}

display years with 4 digit