[wp-trac] [WordPress Trac] #40499: the_archive_title() doesn't honour date format setting

WordPress Trac noreply at wordpress.org
Sat Apr 22 13:16:27 UTC 2017


#40499: the_archive_title() doesn't honour date format setting
--------------------------+------------------------------
 Reporter:  henry.wright  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:  template
--------------------------+------------------------------

Comment (by knutsp):

 Replying to [comment:1 johnbillion]:
 > In this case, the date format is explicitly set to `F j, Y` as it's a
 day archive. For month archives it's set to `F Y`. I don't think it makes
 sense for the date format setting to be used here.

 Why not? This is poor internationalisation.

 For day archive it should be used. For month, either a special filterable
 setting or just 'Y-m'.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40499#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list