Forums > Surface the year of last post
CloCkWeRX opened this issue · comments
Daniel O'Connor commented
https://www.growstuff.org/forums
Should show '11 Jan 23' or similar instead of just 11 Jan.
Currently:
- if post.updated_at > post.recent_activity
= post.updated_at.to_date.to_formatted_s(:short)
- else
= post.recent_activity.to_date.to_formatted_s(:short)
Potentially we could introduce a helper than outputs a span with a title attribute, full date and use that everywhere.