I think it would be cleaner to use [`content_tag`](http://api.rubyonrails.org/classes/ActionView/Helpers/TagHelper.html#method-i-content_tag) here:

```ruby
time = Time.parse(time_string)
content_tag(:time, time.strftime('%-d %B %Y'), datetime: time.iso8601)
```