Active
Project:
Drupal core
Version:
main
Component:
datetime.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Jan 2018 at 21:24 UTC
Updated:
3 Mar 2023 at 16:46 UTC
Jump to comment: Most recent
Split from #2921810: Allow TimestampFormatter to show as a fully cacheable time difference with JS. Postponed on #2921810: Allow TimestampFormatter to show as a fully cacheable time difference with JS.
As #2921810: Allow TimestampFormatter to show as a fully cacheable time difference with JS has extended TimestampFormatter to allow "timeago" representation using JS and making it in this way fully cacheable, we should consider the deprecation of TimestampAgoFormatter plugin and its removal in Drupal 9.
Pros for deprecating:
TimestampFormatter allows full caching while TimestampAgoFormatter assures only a max-age caching.max-age cached 'time ago' interval? That has no value for a service consumer as it has no value for a user that reads a HTML in the browser.Cons:
None.
TBD
TBD
TBD
Comments
Comment #2
claudiu.cristeaIS update.
Comment #12
catch