mirror of https://github.com/acanas/swad-core.git
Version 16.90.2
This commit is contained in:
parent
aa23cd9d0c
commit
d50a099692
|
@ -98,20 +98,23 @@ function writeLocalDateHMSFromUTC (id,TimeUTC,separator,StrToday) {
|
|||
Hou = d.getHours();
|
||||
Min = d.getMinutes();
|
||||
Sec = d.getSeconds();
|
||||
StrMon = ((Mon < 10) ? '0' : '') + Mon;
|
||||
StrDay = ((Day < 10) ? '0' : '') + Day;
|
||||
StrMon = ((Mon < 10) ? '-0' : '-') + Mon;
|
||||
StrDay = ((Day < 10) ? '-0' : '-') + Day;
|
||||
StrHou = ((Hou < 10) ? '0' : '') + Hou;
|
||||
StrMin = ((Min < 10) ? '0' : '') + Min;
|
||||
StrSec = ((Sec < 10) ? '0' : '') + Sec;
|
||||
StrMin = ((Min < 10) ? ':0' : ':') + Min;
|
||||
if (Sec)
|
||||
StrSec = ((Sec < 10) ? ':0' : ':') + Sec;
|
||||
else
|
||||
StrSec = '';
|
||||
if (Yea == todayYea && Mon == todayMon && Day == todayDay && // Today
|
||||
StrToday.length)
|
||||
document.getElementById(id).innerHTML = StrToday +
|
||||
separator +
|
||||
StrHou + ':' + StrMin + ':' + StrSec;
|
||||
StrHou + StrMin + StrSec;
|
||||
else
|
||||
document.getElementById(id).innerHTML = Yea + '-' + StrMon + '-' + StrDay +
|
||||
document.getElementById(id).innerHTML = Yea + StrMon + StrDay +
|
||||
separator +
|
||||
StrHou + ':' + StrMin + ':' + StrSec;
|
||||
StrHou + StrMin + StrSec;
|
||||
}
|
||||
|
||||
function writeLocalDateHMFromUTC (id,TimeUTC,separator,StrToday) {
|
|
@ -87,8 +87,6 @@ static void Agd_PutIconToShowQR (void);
|
|||
|
||||
static void Agd_PutButtonToCreateNewEvent (void);
|
||||
static void Agd_PutParamsToCreateNewEvent (void);
|
||||
// static void Agd_ShowFormToSelWhichEvents (Act_Action_t Action);
|
||||
// static void Agd_GetParamWhichEvents (void);
|
||||
static void Agd_ShowOneEvent (Agd_AgendaType_t AgendaType,long AgdCod);
|
||||
static void Agd_WriteEventAuthor (struct AgendaEvent *AgdEvent);
|
||||
static void Agd_GetParamEventOrderType (void);
|
||||
|
|
|
@ -183,13 +183,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.90.1 (2016-12-06)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.90.2 (2016-12-06)"
|
||||
#define CSS_FILE "swad16.86.5.css"
|
||||
#define JS_FILE "swad16.84.2.js"
|
||||
#define JS_FILE "swad16.90.2.js"
|
||||
|
||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
||||
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1
|
||||
/*
|
||||
Version 16.90.2: Dec 06, 2016 Changes in JavaScript code to write date-time. (210149 lines)
|
||||
Version 16.90.1: Dec 06, 2016 Code refactoring in agenda. (210147 lines)
|
||||
Version 16.90: Dec 06, 2016 Changes in layout of agenda. (210147 lines)
|
||||
1 change necessary in database:
|
||||
|
|
Loading…
Reference in New Issue