mysociety/alaveteli — pull request #1380 by garethrees (2014-03-10 16:27:32+00:00)
Title: [WIP] issues/1358 spike

Create `LinkToHelper#semantic_date` which returns
a html `` tag including the correct attributes
and body

We could go ahead and use this, but it would be nicer
to use the existing `simple_date` helper. The only issue
here is that it is used in `.text.erb` templates, so we'd
have to include a format option or something, eg:

```ruby
def simple_date(date, format = :html)
case format
when :html then simple_date_html(date)
when :text then simple_date_text(date)
end
end
```