1
0
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:
Jon Ziebell
2024-08-27 22:23:45 -04:00
parent 6b1533f852
commit 0b5f1e13b8
2 changed files with 17 additions and 0 deletions
+6
View File
@@ -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());
}