Changeset 55343
- Timestamp:
- 02/14/2023 09:39:43 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r55276 r55343 33 33 } 34 34 35 $datetime = date_create( $date, wp_timezone() ); 35 $timezone = wp_timezone(); 36 $datetime = date_create( $date, $timezone ); 36 37 37 38 if ( false === $datetime ) { … … 45 46 46 47 if ( $translate ) { 47 return wp_date( $format, $datetime->getTimestamp() );48 return wp_date( $format, $datetime->getTimestamp(), $timezone ); 48 49 } 49 50
Note: See TracChangeset
for help on using the changeset viewer.