Skip to content
Snippets Groups Projects
Commit cf8726fa authored by Mark Harding's avatar Mark Harding
Browse files

(fix): use seconds not milliseconds

parent 545f6462
No related branches found
No related tags found
Loading
......@@ -72,12 +72,12 @@ class Repository
if ($opts['from']) {
$statement .= " AND timestamp > ?";
$values[] = new Timestamp($opts['from'] * 1000);
$values[] = new Timestamp($opts['from']);
}
if ($opts['to']) {
$statement .= " AND timestamp < ?";
$values[] = new Timestamp($opts['to'] * 1000);
$values[] = new Timestamp($opts['to']);
}
if (!isset($opts['reason_code']) && !isset($opts['sub_reason_code'])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment