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