application_helper: work around a bug with data attributes

Though content_tag can supposedly render attributes set to true without
a value, Rails uses a different behavior for data attributes. Unfortunately,
this was resulting in all dates rendering as 'prue'.