6. Displaying the Date

###app/views/posts/index.html.erb

...
<th>Date</th>
...
<td><%= post.created_at.to_date %></td>
...

###app/views/posts/show.html.erb

...
<p>
  <strong>Date:</strong>
  <%= @post.created_at %>
</p>
...


Complete and Continue