wip
This commit is contained in:
1 parent
45cd621cf7
commit
d317c733b9
13 files changed
+142
-58
No files matched your search
@@ -29,8 +29,6 @@ class Fixtures
|
||||
$total_soccer = 0;
|
||||
$total_others = 0;
|
||||
|
||||
$now = Carbon::now();
|
||||
|
||||
/**
|
||||
* Delete
|
||||
*/
|
||||
@@ -53,7 +51,11 @@ class Fixtures
|
||||
|
||||
if ($today) {
|
||||
Nuh::$options['days_from'] = 0;
|
||||
Nuh::$options['days_to'] = 1;
|
||||
if (now()->between(today(), today()->addHour())) {
|
||||
Nuh::$options['days_to'] = 2;
|
||||
} else {
|
||||
Nuh::$options['days_to'] = 2;
|
||||
}
|
||||
} elseif ($week) {
|
||||
Nuh::$options['days_from'] = 0;
|
||||
Nuh::$options['days_to'] = 6;
|
||||
@@ -134,7 +136,7 @@ class Fixtures
|
||||
}
|
||||
|
||||
if ($debug) {
|
||||
Notice::note($now->toDateString()." - $count events processed", 'g');
|
||||
Notice::note(now()->toDateString()." - $count events processed", 'g');
|
||||
}
|
||||
}
|
||||
if ($debug) {
|
||||
|
||||
Reference in new issue
Block a user