Making WordPress.org

Opened 7 years ago

Closed 7 years ago

#3529 closed defect (bug) (fixed)

Improve date format in "WordPress 15 years"...

Reported by: tobifjellner's profile tobifjellner Owned by: iandunn's profile iandunn
Milestone: Priority: normal
Component: General Keywords:
Cc:

Description

Location: https://meta.trac.wordpress.org/browser/sites/trunk/wp15.wordpress.net/public_html/content/themes/twentyseventeen-wp15/template-parts/header/site-branding.php?marks=26#L26

$date_format = _x( 'F dS, Y', 'Site description date format' );
Would better be
$date_format = _x( 'F jS, Y', 'Site description date format' );

The current format would give "January 01st, 2018".
The suggested string would give "January 1st, 2018".
If the date that will be presented is day 10 or later in the month, nobody would notice this, but still better to use the correct formatting, right?

Change History (1)

#1 @iandunn
7 years ago

  • Owner set to iandunn
  • Resolution set to fixed
  • Status changed from new to closed

In 6931:

WP15: Change to unpadded day format for cleaner presentation.

Props tobifjellner
Fixes #3529

Note: See TracTickets for help on using tickets.