- CRLF fix

This commit is contained in:
James 2012-10-16 16:25:56 -04:00
parent 35c8fe55b4
commit c1745145e8
1 changed files with 3 additions and 3 deletions

View File

@ -144,9 +144,9 @@ class CcSchedule extends BaseCcSchedule {
$dt = $v;
}
else if (preg_match('/^[0-9]{1,2}(\.\d{1,6})?$/', $v)) {
// in php 5.3.2 createFromFormat() with "u" is not supported(bug)
// Hence we need to do parsing.
$info = explode('.', $v);
// in php 5.3.2 createFromFormat() with "u" is not supported(bug)
// Hence we need to do parsing.
$info = explode('.', $v);
$microsecond = $info[1];
$dt = DateTime::createFromFormat("s", $info[0]);
}