feat: Display the date and time of the next reminder (#1704)

This commit is contained in:
Alexis Saettler
2018-08-17 03:42:06 +02:00
committed by Régis Freyd
parent 1d35dea8b8
commit ba417b029a
12 changed files with 153 additions and 31 deletions
+3 -1
View File
@@ -84,7 +84,9 @@ class SettingsController extends Controller
->withLocales(LocaleHelper::getLocaleList())
->withHours(DateHelper::getListOfHours())
->withSelectedTimezone(TimezoneHelper::adjustEquivalentTimezone(DateHelper::getTimezone()))
->withTimezones(TimezoneHelper::getListOfTimezones());
->withTimezones(collect(TimezoneHelper::getListOfTimezones())->map(function ($timezone) {
return ['id' => $timezone['timezone'], 'name'=>$timezone['name']];
}));
}
/**