This commit is contained in:
salam committed 2026-02-25 17:57:32 +01:00
1 parent cf1c1d30ee
commit 9b6598d8ab
2 files changed
+3 -3

No files matched your search

@@ -68,7 +68,7 @@ class EventResource extends Resource
->where('has_markets', 1)
->where('sport_id', auth()->user()->sport_id);
$query->where('starttime', '>=', Carbon::now());
$query->where('starttime', '>=', Carbon::now()->timezone('CET'));
// if (config('env.app_env') == 'production') {
// $query->where('starttime', '>=', Carbon::now()->subHour());
@@ -45,10 +45,10 @@ class ColumnStarttime extends Column implements HasEmbeddedView
} else {
$color = 'fi-color fi-color-warning fi-text-color-600 dark:fi-text-color-400 fi-ta-text-item';
}
$starttime = Carbon::createFromTimestamp(strtotime($client_starttime));
$starttime = Carbon::createFromTimestamp(strtotime($client_starttime))->timezone('CET');
} else {
$color = 'fi-color fi-color-info fi-text-color-600 dark:fi-text-color-400 fi-ta-text-item';
$starttime = Carbon::createFromTimestamp(strtotime($txodds_starttime));
$starttime = Carbon::createFromTimestamp(strtotime($txodds_starttime))->timezone('CET');
}
ob_start(); ?>