Ensure that the resulting post time is localized after the date is changed. props SergeyBiryukov. fixes #24072.

git-svn-id: http://core.svn.wordpress.org/trunk@24046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin
2013-04-22 19:04:02 +00:00
parent b8805d7f22
commit d095eac796
3 changed files with 10 additions and 7 deletions

View File

@@ -392,6 +392,8 @@ function wp_default_scripts( &$scripts ) {
'publishOn' => __('Publish on:'),
'publishOnFuture' => __('Schedule for:'),
'publishOnPast' => __('Published on:'),
/* translators: 1: month, 2: day, 3: year, 4: hour, 5: minute */
'dateFormat' => __('%1$s %2$s, %3$s @ %4$s : %5$s'),
'showcomm' => __('Show more comments'),
'endcomm' => __('No more comments found.'),
'publish' => __('Publish'),