[wp-trac] [WordPress Trac] #52501: Bad date format in data picker, depends on time format settings

WordPress Trac noreply at wordpress.org
Fri Feb 3 19:28:28 UTC 2023


#52501: Bad date format in data picker, depends on time format settings
-----------------------------+------------------------------
 Reporter:  MarekTP          |       Owner:  (none)
     Type:  defect (bug)     |      Status:  reopened
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Quick/Bulk Edit  |     Version:  5.6.1
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:
-----------------------------+------------------------------

Comment (by oglekler):

 I tested this on WP version 6.1.2 (6.1.1) and 4.8.21 with Czech and output
 is different due to how this string is translated in the current WordPress
 version. Due to different translation abilities (see the collage above) it
 can be inconsistent and differ from place to place. But it looks like Time
 and Date formats in General Settings are more for the site frontend, and
 Data piker is using 24-hours time anyway.

 So, possible improvements are:
 - unify date format and translation abilities for the whole site to be
 consistent
 - in case if Date Format and Time Format are not supposed to be applied
 directly in the admin, make it clear that date format in General Settings
 is for the frontend

 Right now if for some language format is not as it should be it needs to
 be checked for the correct translation and if existing translation
 abilities are not covering needs for localization, requirements could be
 collected to make improvements.

 Related ticket: #42394

 Dear Polyglots, please participate in this issue discussion. It cannot be
 handled without you. Thanks in advance.

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


More information about the wp-trac mailing list