alphagov/whitehall — pull request #812 by tekin (2013-09-04 08:37:39+00:00)
Title: Consolidate microdate helpers

There is only really two instances where the `render_datetime_microrformat` helper is required; in most cases, the much simpler and more robust `absolute_date` and `absolute_time` helpers will do.

The main motivation for doing this was that `render_datetime_microformat` doesn't handle the case when the time method passed in returns `nil`. This is currently causing errors in admin when a document series contains a document that has yet to be published, i.e. it's `public_timestamp` is nil.