diff --git a/js/swad16.206.1.js b/js/swad16.206.3.js similarity index 99% rename from js/swad16.206.1.js rename to js/swad16.206.3.js index c947ec30..00c88f5b 100644 --- a/js/swad16.206.1.js +++ b/js/swad16.206.3.js @@ -139,8 +139,7 @@ function writeLocalDateHMSFromUTC (id,TimeUTC,DateFormat,Separator,StrToday, if (WriteHMS & 1) { // Bits 2,1,0 on => Write seconds Sec = d.getSeconds(); - if (Sec) - StrSec = ((Sec < 10) ? ':0' : ':') + Sec; + StrSec = ((Sec < 10) ? ':0' : ':') + Sec; } } } diff --git a/swad_changelog.h b/swad_changelog.h index 044a3e92..1fb6e110 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -232,13 +232,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.206.2 (2017-05-05)" +#define Log_PLATFORM_VERSION "SWAD 16.206.3 (2017-05-05)" #define CSS_FILE "swad16.205.css" -#define JS_FILE "swad16.206.1.js" +#define JS_FILE "swad16.206.3.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.3: May 05, 2017 Fixed bug in Javascript function to write local date and time. (218527 lines) 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)