diff --git a/js/swad19.230.3.js b/js/swad19.236.4.js similarity index 99% rename from js/swad19.230.3.js rename to js/swad19.236.4.js index 6c84fb554..8680b0df8 100644 --- a/js/swad19.230.3.js +++ b/js/swad19.236.4.js @@ -153,12 +153,10 @@ function writeLocalDateHMSFromUTC (id,TimeUTC,DateFormat,Separator,StrToday, if (WriteWeekDay) { DayOfWeek = d.getDay(); DayOfWeek = (DayOfWeek == 0) ? 6 : DayOfWeek - 1; - StrDate = StrDate + Separator + DAYS[DayOfWeek]; + StrDate += Separator + DAYS[DayOfWeek]; } + StrDate += Separator; } - else if (WriteWeekDay) - StrDate = Separator; - StrDate = StrDate + Separator; /* Set HH:MM:SS */ StrHou = ''; diff --git a/swad_changelog.h b/swad_changelog.h index 3b09aa62b..4c3734de2 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -557,10 +557,11 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - * En OpenSWAD: ps2pdf source.ps destination.pdf */ -#define Log_PLATFORM_VERSION "SWAD 19.236.3 (2020-05-18)" +#define Log_PLATFORM_VERSION "SWAD 19.236.4 (2020-05-18)" #define CSS_FILE "swad19.230.1.css" -#define JS_FILE "swad19.230.3.js" +#define JS_FILE "swad19.236.4.js" /* + Version 19.236.4: May 18, 2020 Fixed minor bug in dates. (301244 lines) Version 19.236.3: May 18, 2020 Number of players in a match now is calculated as number of users who have result, even in blank. (301243 lines) Version 19.236.2: May 18, 2020 Fixed bug in matches, reported by Javier Fernández Baldomero. (301241 lines) Version 19.236.1: May 18, 2020 Fixed bugs in exam results. (301205 lines) diff --git a/swad_file_browser.c b/swad_file_browser.c index 0e8e0a03f..a6b07ee55 100644 --- a/swad_file_browser.c +++ b/swad_file_browser.c @@ -6428,6 +6428,7 @@ static void Brw_WriteDatesAssignment (void) static unsigned UniqueId = 0; char *Id; + /***** Begin table cell *****/ HTM_TD_Begin ("colspan=\"2\" class=\"%s RM COLOR%u\"", Gbl.FileBrowser.Asg.Open ? "ASG_LST_DATE_GREEN" : "ASG_LST_DATE_RED", @@ -6462,6 +6463,8 @@ static void Brw_WriteDatesAssignment (void) } else HTM_TxtF (" (%s)",Txt_unknown_assignment); + + /***** End table cell *****/ HTM_TD_End (); }