Quantcast
Viewing all articles
Browse latest Browse all 295845

Time Ago summary does not render on Manage Display for Datetime

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 295845

Trending Articles