Opened 4 years ago
Closed 3 years ago
#48286 closed defect (bug) (fixed)
Avoid use of mdash in starter content for day separator Monday—Friday
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | I18N | Keywords: | good-first-bug has-patch has-screenshots commit |
Focuses: | Cc: |
Description
In the starter content there's a mix of mdash and ndash when it should only be ndash as the separator in dates and times.
https://github.com/WordPress/wordpress-develop/blob/7a682e690e4915411777080ebc2999da69ad3a39/src/wp-includes/theme.php#L2058
The ndash standardly is the "through" indicator for showing inclusive dates and numbers.
While the mdash is an interruptor and used as an aside.
As such the content - Monday—Friday: 9:00AM–5:00PM
Should simply be - Monday–Friday: 9:00AM–5:00PM
Originally opened here;
https://github.com/WordPress/twentytwenty/issues/830
Attachments (2)
Change History (6)
#1
@
4 years ago
- Milestone changed from Awaiting Review to 5.4
- Summary changed from Avoid use of mdash in starter content for day seperator Monday—Friday to Avoid use of mdash in starter content for day separator Monday—Friday
Note: See
TracTickets for help on using
tickets.
Updated to use ndash instead of mdash