mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 00:54:27 +00:00
update(WeekCalendarHeader):uses the last day of the week instead of the first day of the week for the calendar title
This commit is contained in:
@@ -89,6 +89,8 @@ function generateJSDataStorageObject($indexPage, $calledPath, $calledMethod)
|
||||
{
|
||||
$user_language = getUserLanguage();
|
||||
|
||||
// default locale
|
||||
//user_locale: "'.Locale::DEFAULT_LOCALE.'",
|
||||
$toPrint = "\n";
|
||||
$toPrint .= '<script type="text/javascript">';
|
||||
$toPrint .= '
|
||||
@@ -97,7 +99,8 @@ function generateJSDataStorageObject($indexPage, $calledPath, $calledMethod)
|
||||
ci_router: "'.$indexPage.'",
|
||||
called_path: "'.$calledPath.'",
|
||||
called_method: "'.$calledMethod.'",
|
||||
user_language: "'.$user_language.'"
|
||||
user_language: "'.$user_language.'",
|
||||
timezone: "'.date_default_timezone_get().'",
|
||||
};';
|
||||
$toPrint .= "\n";
|
||||
$toPrint .= '</script>';
|
||||
|
||||
Reference in New Issue
Block a user