mirror of
https://github.com/beestat/app.git
synced 2026-05-13 10:52:29 -04:00
Fixed a new daylight savings sync issue
This commit is contained in:
@@ -405,6 +405,12 @@ class runtime extends cora\api {
|
||||
strtotime('-1 hour', $begin),
|
||||
strtotime('+1 hour', $end)
|
||||
);
|
||||
} else if($e->getCode() === 10512) {
|
||||
// Processing error. Just pretend it worked and move on.
|
||||
return [
|
||||
'data_begin' => $begin,
|
||||
'data_end' => $end
|
||||
];
|
||||
} else {
|
||||
throw new cora\exception($e->getMessage(), $e->getCode(), $e->getReportable(), $e->getExtraInfo(), $e->getRollback());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user