From dc04f24304b77a7280b12f3062daa74fb3a1c992 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Fri, 5 May 2017 09:51:10 +0200 Subject: [PATCH] Version 16.206.2 --- swad_changelog.h | 3 ++- swad_connected.c | 16 +++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index bf4659f7d..044a3e92a 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -232,13 +232,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.206.1 (2017-05-05)" +#define Log_PLATFORM_VERSION "SWAD 16.206.2 (2017-05-05)" #define CSS_FILE "swad16.205.css" #define JS_FILE "swad16.206.1.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.206.2: May 05, 2017 Changes in date and time of connected users. (218527 lines) Version 16.206.1: May 05, 2017 Changes in Javascript function to write local date and time. (218524 lines) Version 16.206: May 05, 2017 Date format applied to dates written directly instead of using Javascript. (218514 lines) Version 16.205.4: May 05, 2017 Help about date format. (218487 lines) diff --git a/swad_connected.c b/swad_connected.c index d198994f3..43cca439c 100644 --- a/swad_connected.c +++ b/swad_connected.c @@ -80,7 +80,6 @@ void Con_ShowConnectedUsrs (void) { extern const char *Hlp_USERS_Connected; extern const char *Txt_Connected_users; - extern const char *Txt_MONTHS_SMALL_SHORT[12]; /***** Link to show last clicks in real time *****/ if (Gbl.Usrs.Me.Logged) @@ -96,14 +95,17 @@ void Con_ShowConnectedUsrs (void) /***** Start frame *****/ /* Current time */ - sprintf (Gbl.Title,"%s
%s %u, %u:%02u", - Txt_Connected_users, - Txt_MONTHS_SMALL_SHORT[Gbl.Now.Date.Month - 1], - Gbl.Now.Date.Day, - Gbl.Now.Time.Hour, - Gbl.Now.Time.Minute); + sprintf (Gbl.Title,"%s
", + Txt_Connected_users); Lay_StartRoundFrame (NULL,Gbl.Title, Con_PutIconToUpdateConnected,Hlp_USERS_Connected); + fprintf (Gbl.F.Out,"" + "", + (long) Gbl.StartExecutionTimeUTC, + (unsigned) Gbl.Prefs.DateFormat); /***** Number of connected users in the whole platform *****/ Con_ShowGlobalConnectedUsrs ();