Let's start with #1183250: Add a theme_datetime() function to consistently theme dates and datetimes once the basic functionality is committed.

See #1183250: Add a theme_datetime() function to consistently theme dates and datetimes from comment 191 on for a stub patch and an explanation of this issue.

Basically, theme_datetime does not yet account for render arrays; it will only accept plain text or HTML strings until it is updated to incorporate the patterns of the render system.

Comments

jessebeach’s picture

Issue summary: View changes

Updated issue summary.

Anonymous’s picture

Title: Update the theme_datetime function to account for the account for the render system » Rationalize theme functions to improve consistency, including render elements
Anonymous’s picture

Issue summary: View changes

Updated to reflect problem.

jessebeach’s picture

Issue summary: View changes

Updated issue summary.

mgifford’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

I'm assuming we can close this issue as https://api.drupal.org/api/drupal/8/search/theme_datetime no longer exists in D8.