mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-01 22:35:28 +02:00
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();
|
Hou = d.getHours();
|
||||||
Min = d.getMinutes();
|
Min = d.getMinutes();
|
||||||
Sec = d.getSeconds();
|
Sec = d.getSeconds();
|
||||||
StrMon = ((Mon < 10) ? '0' : '') + Mon;
|
StrMon = ((Mon < 10) ? '-0' : '-') + Mon;
|
||||||
StrDay = ((Day < 10) ? '0' : '') + Day;
|
StrDay = ((Day < 10) ? '-0' : '-') + Day;
|
||||||
StrHou = ((Hou < 10) ? '0' : '') + Hou;
|
StrHou = ((Hou < 10) ? '0' : '') + Hou;
|
||||||
StrMin = ((Min < 10) ? '0' : '') + Min;
|
StrMin = ((Min < 10) ? ':0' : ':') + Min;
|
||||||
StrSec = ((Sec < 10) ? '0' : '') + Sec;
|
if (Sec)
|
||||||
|
StrSec = ((Sec < 10) ? ':0' : ':') + Sec;
|
||||||
|
else
|
||||||
|
StrSec = '';
|
||||||
if (Yea == todayYea && Mon == todayMon && Day == todayDay && // Today
|
if (Yea == todayYea && Mon == todayMon && Day == todayDay && // Today
|
||||||
StrToday.length)
|
StrToday.length)
|
||||||
document.getElementById(id).innerHTML = StrToday +
|
document.getElementById(id).innerHTML = StrToday +
|
||||||
separator +
|
separator +
|
||||||
StrHou + ':' + StrMin + ':' + StrSec;
|
StrHou + StrMin + StrSec;
|
||||||
else
|
else
|
||||||
document.getElementById(id).innerHTML = Yea + '-' + StrMon + '-' + StrDay +
|
document.getElementById(id).innerHTML = Yea + StrMon + StrDay +
|
||||||
separator +
|
separator +
|
||||||
StrHou + ':' + StrMin + ':' + StrSec;
|
StrHou + StrMin + StrSec;
|
||||||
}
|
}
|
||||||
|
|
||||||
function writeLocalDateHMFromUTC (id,TimeUTC,separator,StrToday) {
|
function writeLocalDateHMFromUTC (id,TimeUTC,separator,StrToday) {
|
|
@ -87,8 +87,6 @@ static void Agd_PutIconToShowQR (void);
|
||||||
|
|
||||||
static void Agd_PutButtonToCreateNewEvent (void);
|
static void Agd_PutButtonToCreateNewEvent (void);
|
||||||
static void Agd_PutParamsToCreateNewEvent (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_ShowOneEvent (Agd_AgendaType_t AgendaType,long AgdCod);
|
||||||
static void Agd_WriteEventAuthor (struct AgendaEvent *AgdEvent);
|
static void Agd_WriteEventAuthor (struct AgendaEvent *AgdEvent);
|
||||||
static void Agd_GetParamEventOrderType (void);
|
static void Agd_GetParamEventOrderType (void);
|
||||||
|
|
|
@ -183,13 +183,14 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** 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 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:
|
// 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
|
// 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.1: Dec 06, 2016 Code refactoring in agenda. (210147 lines)
|
||||||
Version 16.90: Dec 06, 2016 Changes in layout of agenda. (210147 lines)
|
Version 16.90: Dec 06, 2016 Changes in layout of agenda. (210147 lines)
|
||||||
1 change necessary in database:
|
1 change necessary in database:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user