public function getProjectConfiguration(BedrockSetting $settings) { if ($format = $settings->getDateFormat()) { CalendarDateTime::set_date_format($format); } if ($months = $settings->getDefaultFutureMonths()) { self::$defaultFutureMonths = $months; } if ($time = $settings->getTimeFormat()) { CalendarDateTime::set_time_format($time); } }
public function getProjectConfiguration(BedrockSetting $settings) { if ($format = $settings->getDateFormat()) { self::set_date_format($format); } }