mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 15:16:59 +00:00
Respect time zone when displaying autosave and revision time. Props janbrasna, designsimply. fixes #8750 #6489 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10490 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -842,7 +842,7 @@ case 'autosave' : // The name of this action is hardcoded in edit_post()
|
||||
$do_lock = true;
|
||||
|
||||
$data = '';
|
||||
$message = sprintf( __('Draft Saved at %s.'), date( __('g:i:s a'), current_time( 'timestamp', true ) ) );
|
||||
$message = sprintf( __('Draft Saved at %s.'), date_i18n( __('g:i:s a') ) );
|
||||
|
||||
$supplemental = array();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user