mirror of https://github.com/acanas/swad-core.git
Version 22.12.3: Sep 20, 2022 Fixed bug in JavaScript related to dates.
This commit is contained in:
parent
ba7f5d793b
commit
c27917c6a6
|
@ -606,10 +606,11 @@ TODO: Fix bug: error al enviar un mensaje a dos recipientes, error on duplicate
|
|||
|
||||
TODO: Attach pdf files in multimedia.
|
||||
*/
|
||||
#define Log_PLATFORM_VERSION "SWAD 22.12.2 (2022-09-20)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 22.12.3 (2022-09-20)"
|
||||
#define CSS_FILE "swad22.7.css"
|
||||
#define JS_FILE "swad21.100.js"
|
||||
/*
|
||||
Version 22.12.3: Sep 20, 2022 Fixed bug in JavaScript related to dates. (331098 lines)
|
||||
Version 22.12.2: Sep 20, 2022 Changes in behaviour of program items. (331097 lines)
|
||||
Version 22.12.1: Sep 20, 2022 Changes in behaviour of program items. (331015 lines)
|
||||
Version 22.12: Sep 20, 2022 Links to marks file in program. (330985 lines)
|
||||
|
|
|
@ -515,6 +515,17 @@ static void Lay_WriteScripts (void)
|
|||
|
||||
/***** Write script to initialize variables used to draw dates *****/
|
||||
HTM_SCRIPT_Begin (NULL,NULL);
|
||||
HTM_Txt ("\tvar DAYS = [");
|
||||
for (DayOfWeek = 0;
|
||||
DayOfWeek < 7;
|
||||
DayOfWeek++)
|
||||
{
|
||||
if (DayOfWeek)
|
||||
HTM_Comma ();
|
||||
HTM_TxtF ("'%s'",Txt_DAYS[DayOfWeek]);
|
||||
}
|
||||
HTM_Txt ("];\n");
|
||||
|
||||
HTM_Txt ("\tvar DAYS2 = [");
|
||||
for (DayOfWeek = 0;
|
||||
DayOfWeek < 7;
|
||||
|
@ -549,17 +560,6 @@ static void Lay_WriteScripts (void)
|
|||
/***** Write script to initialize variables used to draw months *****/
|
||||
HTM_SCRIPT_Begin (NULL,NULL);
|
||||
|
||||
HTM_Txt ("\tvar DAYS = [");
|
||||
for (DayOfWeek = 0;
|
||||
DayOfWeek < 7;
|
||||
DayOfWeek++)
|
||||
{
|
||||
if (DayOfWeek)
|
||||
HTM_Comma ();
|
||||
HTM_TxtF ("'%s'",Txt_DAYS[DayOfWeek]);
|
||||
}
|
||||
HTM_Txt ("];\n");
|
||||
|
||||
HTM_Txt ("\tvar STR_EXAM = '");
|
||||
HTM_TxtF (Txt_Exam_of_X,Gbl.Hierarchy.Crs.FullName);
|
||||
HTM_Txt ("';\n");
|
||||
|
|
Loading…
Reference in New Issue