Settable timezones with cachet config

This commit is contained in:
Joseph Cohen
2015-10-08 16:11:30 -05:00
parent ce8e710173
commit a288f84fc5
8 changed files with 32 additions and 7 deletions

View File

@@ -55,7 +55,7 @@ class StatusPageController extends Controller
} else {
$incidentDays = range(0, $daysToShow);
}
$dateTimeZone = Setting::get('app_timezone');
$dateTimeZone = config('cachet.timezone');
$incidentVisiblity = Auth::check() ? 0 : 1;