Support ability to display day of week in RangeFormatter

Created on 25 August 2020, over 4 years ago
Updated 14 September 2023, over 1 year ago

Problem/Motivation

The range formatter does not currently support the configuration option to display the day of the week.

Provided that the start and end dates are the same (i.e., only the times differ), AP style format implies that the day of the week should be displayable, given the following logic:
- all references to Associated Press *dates* are are treated as separate from references to Associated Press *times*
- On a date range where the start and end date are the same, the *date* part of the *date and time* would be considered a single value, and should display the day of the week

Proposed resolution

Expose the configuration for display_day in the range formatter, with help text that indicates that this will only print when the start and end dates occur on the same date.

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mark_fullmer Tucson

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