Make time diff chunks configurable

Created on 18 April 2021, over 3 years ago
Updated 4 March 2023, almost 2 years ago

Problem/Motivation

This is a followup to implement the point 8 from #2921810-165: Allow TimestampFormatter to show as a fully cacheable time difference with JS β†’ comment.

In πŸ› Allow TimestampFormatter to show as a fully cacheable time difference with JS Fixed , we added the ability to expose a timestamp field as a fully cacheable time difference, using JavaScript, e.g. 1 hour 32 minutes 3 seconds. But some site builders may want to show 1 hr 32 min 2 sec, and so on...

Proposed resolution

Make the time diff chunks configurable.

Still to clarify:

  • Should they be configurable along with the formatter?
  • If yes, should we provide an interface?

Remaining tasks

  • Define exactly the "Proposed resolution"

User interface changes

API changes

Data model changes

Release notes snippet

✨ Feature request
Status

Active

Version

10.1 ✨

Component
DatetimeΒ  β†’

Last updated 6 days ago

Created by

πŸ‡·πŸ‡΄Romania claudiu.cristea Arad πŸ‡·πŸ‡΄

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024