monetr / web-ui

Web interface for the budgeting application.
Other
1 stars 2 forks source link

expenses: If the next occurence is next year, show the year in the date. #645

Open elliotcourant opened 3 years ago

elliotcourant commented 3 years ago

image

This expense occurs next year, but it is not clear if it does; or if its suffering from the bug outlined in; https://github.com/monetr/rest-api/issues/324


Just add some logic to the date rendering for the expense detail/row that will show the year with the date.

if nextOccurrance.Year != now.Year {
  showYear();
}