Ticket #57467: 57467.diff
File 57467.diff, 1008 bytes (added by , 22 months ago) |
---|
-
src/wp-includes/rss.php
836 836 if ( !function_exists('parse_w3cdtf') ) : 837 837 function parse_w3cdtf ( $date_str ) { 838 838 839 # regex to match w c3dtf839 # regex to match w3cdtf 840 840 $pat = "/(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(:(\d{2}))?(?:([-+])(\d{2}):?(\d{2})|(Z))?/"; 841 841 842 842 if ( preg_match( $pat, $date_str, $match ) ) {