rebase on oct-10-2023
This commit is contained in:
@@ -836,7 +836,7 @@ class RSSCache {
|
||||
if ( !function_exists('parse_w3cdtf') ) :
|
||||
function parse_w3cdtf ( $date_str ) {
|
||||
|
||||
# regex to match wc3dtf
|
||||
# regex to match W3C date/time formats
|
||||
$pat = "/(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(:(\d{2}))?(?:([-+])(\d{2}):?(\d{2})|(Z))?/";
|
||||
|
||||
if ( preg_match( $pat, $date_str, $match ) ) {
|
||||
|
||||
Reference in New Issue
Block a user