Index: lams_central/web/main.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/main.jsp,v diff -u -r1.77.2.37 -r1.77.2.38 --- lams_central/web/main.jsp 9 Dec 2016 17:47:09 -0000 1.77.2.37 +++ lams_central/web/main.jsp 16 Dec 2016 09:24:17 -0000 1.77.2.38 @@ -97,6 +97,16 @@ $.get("${disableAllTutorialVideosUrl}"); } + + debugger; + var current_date = new Date( ); + var client_gmt_offset_minutes = current_date.getTimezoneOffset( ); + $('#offset').html( client_gmt_offset_minutes / 60 ); + var lams_gmt_offset_minutes = ( + ) / 60000; + if ( client_gmt_offset_minutes != -lams_gmt_offset_minutes ) { + $('#timezoneWarning').html( "
Warning: The timezone in LAMS does not match timezone on your computer. The times shown in LAMS will be for the LAMS timezone set in your profile. " + +": os "+client_gmt_offset_minutes+" minutes : lams "+lams_gmt_offset_minutes+" minutes" ); + } }); @@ -274,6 +284,7 @@ © +