1
0
mirror of https://github.com/beestat/app.git synced 2025-05-24 02:14:03 -04:00

Fixed #224 - Exception: Processing error. Start date is before end date.

I never noticed this before because I was syncing very frequently. Now that I'm syncing once per week I started to see this.
This commit is contained in:
Jon Ziebell 2020-01-20 21:40:06 -05:00
parent dcb15e5ff0
commit 5cdff77268

View File

@ -217,7 +217,7 @@ class runtime extends cora\api {
]
);
$chunk_begin = strtotime('+1 day', $chunk_end);
$chunk_begin = $chunk_end;
$this->database->commit_transaction();
} while ($chunk_end < $sync_end);