@@ 11530-11537 (lines=8) @@ | ||
11527 | $timezone = 0; |
|
11528 | } |
|
11529 | // Deal with 2/3 digit years |
|
11530 | if ($match[4] < 50) |
|
11531 | { |
|
11532 | $match[4] += 2000; |
|
11533 | } |
|
11534 | elseif ($match[4] < 1000) |
|
11535 | { |
|
11536 | $match[4] += 1900; |
|
11537 | } |
|
11538 | // Second is optional, if it is empty set it to zero |
|
11539 | if ($match[7] !== '') |
|
11540 | { |
|
@@ 11594-11601 (lines=8) @@ | ||
11591 | $timezone = 0; |
|
11592 | } |
|
11593 | // Deal with 2 digit year |
|
11594 | if ($match[4] < 50) |
|
11595 | { |
|
11596 | $match[4] += 2000; |
|
11597 | } |
|
11598 | else |
|
11599 | { |
|
11600 | $match[4] += 1900; |
|
11601 | } |
|
11602 | return gmmktime($match[5], $match[6], $match[7], $month, $match[2], $match[4]) - $timezone; |
|
11603 | } |
|
11604 | else |