mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Code optimization and cleanup.
This commit is contained in:
@@ -552,7 +552,7 @@ class e_date
|
||||
}
|
||||
else
|
||||
{
|
||||
preg_match('#(\d{1,2})(?:\D(\d{1,2})){0,1}(?:\D(\d{1,2})){0,1}#', $timeString, $timeVals);
|
||||
preg_match('#(\d{1,2})(?:\D(\d{1,2}))?(?:\D(\d{1,2})){0,1}#', $timeString, $timeVals);
|
||||
}
|
||||
}
|
||||
elseif ($endDay)
|
||||
|
Reference in New Issue
Block a user