Skip to content

Commit b162da2

Browse files
committed
Remove extra lines
1 parent 570aea3 commit b162da2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Mf2/Parser.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -737,11 +737,9 @@ public function parseDT(\DOMElement $dt, &$dates = array(), &$impliedTimezone =
737737
// Is the current part a valid date AND no other date representation has been found?
738738
} elseif (preg_match('/^\d{4}-\d{2}-\d{2}$/', $part) and empty($datePart)) {
739739
$datePart = $part;
740-
741740
// Is the current part a valid ordinal date AND no other date representation has been found?
742741
} elseif (preg_match('/^\d{4}-\d{3}$/', $part) and empty($datePart)) {
743742
$datePart = normalizeOrdinalDate($part);
744-
745743
// Is the current part a valid timezone offset AND no other timezone part has been found?
746744
} elseif (preg_match('/^(Z|[+-]\d{1,2}:?(\d{2})?)$/', $part) and empty($timezonePart)) {
747745
$timezonePart = $part;

0 commit comments

Comments
 (0)