← →

6/1 Fri
6/2 Sat

I want to make it like this, but I can display the current month's date and day of the week, but I want to be able to display next month or last month.
I thought about using link_to, but I couldn't find it by examining it.
I would appreciate it if you could tell me what to use and how to do it.