[wp-trac] [WordPress Trac] #49012: Date format output incorrect in Finnish

WordPress Trac noreply at wordpress.org
Fri Apr 29 22:49:19 UTC 2022


#49012: Date format output incorrect in Finnish
--------------------------+------------------------------
 Reporter:  kipex         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Date/Time     |     Version:  5.3.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by Jyria):

 This is still present in this day in WP 5.9.3.

 Even when I try to output this variable:
 {{{#!php
 <?php
 $date_of_birth = date_i18n( 'F j', strtotime( '2022-11-11' ) );
 }}}

 I get: 11 marraskuun
 instead of desired: Marraskuun 11

 In the same site, I tried different languages. When the site is set to
 english f.e. the out matches my date_i18n: November 11

 Something is wrong here for finnish, that even overwrites custom
 formatting via date_i18n.

 Anyone still on this?

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


More information about the wp-trac mailing list