[wp-trac] [WordPress Trac] #48286: Avoid use of mdash in starter content for day seperator Monday—Friday

WordPress Trac noreply at wordpress.org
Fri Oct 11 03:55:09 UTC 2019


#48286: Avoid use of mdash in starter content for day seperator Monday—Friday
-----------------------------+-----------------------------
 Reporter:  garrett-eclipse  |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  I18N             |    Version:
 Severity:  normal           |   Keywords:  good-first-bug
  Focuses:                   |
-----------------------------+-----------------------------
 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

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48286>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list