Changeset 43384
- Timestamp:
- 06/26/2018 06:00:58 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r43383 r43384 5864 5864 */ 5865 5865 function mysql_to_rfc3339( $date_string ) { 5866 $formatted = mysql2date( 'c', $date_string, false ); 5867 5868 // Strip timezone information 5869 return preg_replace( '/(?:Z|[+-]\d{2}(?::\d{2})?)$/', '', $formatted ); 5866 return mysql2date( 'Y-m-d\TH:i:s', $date_string, false ); 5870 5867 } 5871 5868
Note: See TracChangeset
for help on using the changeset viewer.