Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295276

Time Ago summary does not render on Manage Display for Datetime

$
0
0

Problem/Motivation

When using the timeago formatters on datatime fields, the setting summary does not display properly on the Manage Display page. This was likely a side effect of #2500525: Time ago/hence date/time formatting breaks caching; needs appropriate max age. The setting summary also does not with the timeago formatters on timestamps.

Proposed resolution

- Refactor DateTimeTimeAgoFormatter to extend TimestampAgoFormatter
- Fix settings bug with TimestampAgoFormatter
- Fix settings summary for TimestampAgoFormatter and DateTimeTimeAgoFormatter

Remaining tasks

Finish it.

User interface changes

None.

API changes

None.

Data model changes

None.

Credits

#2867248: Timestamp Ago Formatter: Future and past format not selectable due to incorrect variable name... was closed as a dup of this. Please also credit @xSDx, @JaceRider for patches and @jhedstrom for a review from that issue.


Viewing all articles
Browse latest Browse all 295276

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>