-
Notifications
You must be signed in to change notification settings - Fork 113
Closed
Labels
c: datetimeComponent: dates, times, timezonesComponent: dates, times, timezoness: in progressStatus: the issue has an active proposalStatus: the issue has an active proposal
Milestone
Description
There are two major areas where relative time/date formatting could use standardization:
- Relative time representation
Good example are timers - representing time like "31 hours, 15 minutes and 23 seconds" as "31:15:23".
- pretty relative date/time.
A lot of web apps humanize relative date and time with messages like:
- a few seconds ago
- less than a minute ago
- one hour ago
- in one hour
- yesterday
- last week
- in 2 days
All of those patterns are available in CLDR and it would enable web authors to provide better user interfaces if we could incorporate this kind of formatting either into DateTimeFormat or into a separate RelativeDateTimeFormat.
Metadata
Metadata
Assignees
Labels
c: datetimeComponent: dates, times, timezonesComponent: dates, times, timezoness: in progressStatus: the issue has an active proposalStatus: the issue has an active proposal