[wp-trac] [WordPress Trac] #30717: Missing format for last update timestamp

WordPress Trac noreply at wordpress.org
Tue Jan 6 01:07:30 UTC 2015


#30717: Missing format for last update timestamp
-------------------------------------+-----------------------------
 Reporter:  pavelevap                |       Owner:  SergeyBiryukov
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  4.2
Component:  I18N                     |     Version:  2.7
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:5 tyxla]:
 > How about `get_option( 'date_format' ) . ' ' . get_option( 'time_format'
 )` or `get_option( 'date_format' ) . ' @ ' . get_option( 'time_format' )`?
 This would keep the date/time format dynamic, so it would appear in the
 selected format. Attaching a patch.

 Sorry, didn't see the latest patch. `' @ '` would need to be localizable
 too, so reusing the format we already use in other places seems more
 consistent to me.

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


More information about the wp-trac mailing list